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
If using guard ->(obj, args, ctx) { some_method } inside a base type class, and then inheriting from that class you cannot specify overrides per sub class or even per field. It will always use the guard from the parent class.
classParentType < BaseTypeguard->(obj,args,ctx){false}endclassChildType < ParentTypeguard->(obj,args,ctx){true}# will not workfield:id,ID,required: true,guard->(obj,args,ctx){true}# also will not workend
The text was updated successfully, but these errors were encountered:
If using
guard ->(obj, args, ctx) { some_method }
inside a base type class, and then inheriting from that class you cannot specify overrides per sub class or even per field. It will always use the guard from the parent class.The text was updated successfully, but these errors were encountered: