I have a Date defined as a Scalar in my schema.
Is there a way to define the rules regarding the values in only one place?
I could probably define a directive on FIELD_DEFINITION and apply it on each field of this type. However, I would like to do it once. Is that possible?
from Directives on scalars in Apollo GraphQL Server
No comments:
Post a Comment