Skip to content

same prefix for rest and graphql #870

Answered by mfn
aryala7 asked this question in Q&A
Dec 13, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

is it wrong to set the same prefix for API and graphql URLs?

How would the clients otherwise specify which one to contact?

Ok maybe I missed something obvious 😅 but my first thought is: it has to be different, it's not the same. There needs to be a clear discriminator, since both may use GET and POST requests for example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aryala7
Comment options

Answer selected by aryala7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants