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
Describe the bug
Every field in a GraphQL schema can have a description associated with it. However, the augmented schema doesn't seem to include the description on fields with the "relationship" directive specified to them.
Type definitions
typeApplication {
"Application ID"id: ID
**"Related Object Description"object: [Service] @relationship(type: "has_object", direction: OUT)**
}
typeService{
"Service ID"id: ID
}
To Reproduce
Run the server with a GraphQL schema similar to the one above. The description property is missing from the "object" field.
Expected behavior
The description "Related Object Description" should be shown in the graphQL documentation of the "object" field.
Additional context
I presume that the description is dropped when the function createRelationshipFields() is executed to create relationship fields.
The text was updated successfully, but these errors were encountered:
We've been able to confirm this bug using the steps to reproduce that you provided - many thanks @Roei-Levi! 🙏 We will now prioritise the bug and address it appropriately.
Describe the bug
Every field in a GraphQL schema can have a description associated with it. However, the augmented schema doesn't seem to include the description on fields with the "relationship" directive specified to them.
Type definitions
To Reproduce
Run the server with a GraphQL schema similar to the one above. The description property is missing from the "object" field.
Expected behavior
The description "Related Object Description" should be shown in the graphQL documentation of the "object" field.
Additional context
I presume that the description is dropped when the function createRelationshipFields() is executed to create relationship fields.
The text was updated successfully, but these errors were encountered: