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
Can the documentation include if this is possible or not?
Given an enum
enumDirection{UPDOWNLEFTRIGHT}
And I'd like to use it as a field in my @ArgsType, but I don't want anyone to be able to select the DOWN direction..
Is there a way to enforce this? How?
@ArgsType()classDirectionWithoutDownArgs{
@Field(type=>Direction)direction: Direction;// should NOT be able to select DOWN}
Thank you so much in advance!
The text was updated successfully, but these errors were encountered:
Can the documentation include if this is possible or not?
Given an enum
And I'd like to use it as a field in my
@ArgsType
, but I don't want anyone to be able to select theDOWN
direction..Is there a way to enforce this? How?
Thank you so much in advance!
The text was updated successfully, but these errors were encountered: