You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no policy step defined but an operation fails due to not being logged in at all, in the evaluation for the unauthenticated endpoint you get a NoMethodError: undefined method 'failure?' for nil:NilClass because result['result.policy.default'] is nil.
The comment # FIXME: we might need a &. here ;) in lib/trailblazer/endpoint.rb:22 seems to in fact be correct. But then again, the policy isn't always under the default namespace, is it?
The text was updated successfully, but these errors were encountered:
When there is no policy step defined but an operation fails due to not being logged in at all, in the evaluation for the
unauthenticated
endpoint you get aNoMethodError: undefined method 'failure?' for nil:NilClass
becauseresult['result.policy.default']
is nil.The comment
# FIXME: we might need a &. here ;)
inlib/trailblazer/endpoint.rb:22
seems to in fact be correct. But then again, the policy isn't always under the default namespace, is it?The text was updated successfully, but these errors were encountered: