|
|
|
|
|
by exogen
3160 days ago
|
|
Sorry what class hierarchy are we talking about here? This seems like an extremely contrived application of SOLID. (1) In what sense is my client making GraphQL queries depending on or tied to the available schema fields it does not query? Where's the coupling? (2) I have a REST API that doesn't use PUT, PATCH, or DELETE. So I guess every REST API is not SOLID either, because it's using a general-purpose transport with features I'm not using? (3) Does anyone care? I'm trying to make the best end-user and development experiences. GraphQL allows that. It's an improvement. SOLID is some principals for one type of software (object oriented). Not the principles for all types of software. |
|
Why not move the wonderful experience client side and use service workers?
People talk a lot about one-query turnaround time, but for websites this is not nearly the same concern or gain that it is for, say, a mobile API. I'm a bit out of the mobile game this year, but AFAICT they aren't rushing to embrace gql.