Gathering Interest
Feature Request: custom @directives in FDM model definition language
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Allow custom directives to be defined in the FDM language. Currently, you cannot create models with new directives.
directive @displayName on FIELD_DEFINITION
type Wellbore {
FacilityName: string @displayName
...
}
Use case: I want to create a data API with annotation. GraphQL is descriptive, i.e. I can introspect on the model definition. In the example above, I could use the @displayName annotation to know which attribute my client should use when displaying a data item.