Prevent GraphQL query/mutation name collisions #886

Open
opened 2023-07-13 11:11:21 +02:00 by magicfelix · 2 comments
Member

Query and mutation names are defined globally. If multiple apps have a mutation called e.g. checkIn, there is a problem.
A possible solution is using the app name as a prefix, similar to URLs (multiple apps can have /checkin, because it becomes /app1/checkin and /app2/checkin).

Query and mutation names are defined globally. If multiple apps have a mutation called e.g. `checkIn`, there is a problem. A possible solution is using the app name as a prefix, similar to URLs (multiple apps can have `/checkin`, because it becomes `/app1/checkin` and `/app2/checkin`).
Owner

created branch 886-prevent-graphql-query-mutation-name-collisions to address this issue

created branch [`886-prevent-graphql-query-mutation-name-collisions`](/AlekSIS/official/AlekSIS-Core/-/compare/master...886-prevent-graphql-query-mutation-name-collisions) to address this issue
Owner

mentioned in merge request !3173

mentioned in merge request !3173
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#886
No description provided.