|
|
|
|
|
by troupo
1102 days ago
|
|
> then you would need to write 2 different REST endpoints to handle each clients. Or you use Accept header for its intended purpose Accept: com.company.user-aggregated/json Accept: com.company.user-aggregated-lite/json etc. And let the server return the fields defined by the relevant schemas. I mean, the advise given for GraphQL in prod is to literally call predefined queries only. |
|