API Design · Senior · Question 23 of 75

What's a risk of exposing database models directly as a GraphQL schema?

Explanation

Design the schema around client use cases and domain concepts, and add authorization per field where needed.

Further reading

Problem with a question

API Design · Senior · question 23

Test yourself

Take the API Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz