You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to re-write the Admin interface fully in React.js and to enable a better multi-client architecture long term I want to complete the GraphQL API to include all models and operations. GraphQL is a more powerful and opinionated way of specifying a backend API compared to Rails controllers. Its also the new hotness in API design so its a good resume line these days 😝. The long term vision is to remove all the Rails controllers except for GraphQL and controllers which serve React applications.
I started a GraphQL API when I built the new player app. It currently serves a limited set of the models required in the player app and only has a single Mutation query - SubmitScoreReport. The current GraphQL API is also fully public which won't work for the Admin, we'll need to add appropriate authentication to certain mutations and queries.
The following things need to be done to finish the API:
Integrate authentication into the GraphQL API
Add some tests that actually hit the GraphQL API
Add all mutations to the GraphQL schema
port all operation tests to api tests
Call Graphql mutations directly in legacy controllers
Pull mutation operation logic right into mutation definition and remove operation classes
required for #750
In order to re-write the Admin interface fully in React.js and to enable a better multi-client architecture long term I want to complete the GraphQL API to include all models and operations. GraphQL is a more powerful and opinionated way of specifying a backend API compared to Rails controllers. Its also the new hotness in API design so its a good resume line these days 😝. The long term vision is to remove all the Rails controllers except for GraphQL and controllers which serve React applications.
I started a GraphQL API when I built the new player app. It currently serves a limited set of the models required in the player app and only has a single Mutation query - SubmitScoreReport. The current GraphQL API is also fully public which won't work for the Admin, we'll need to add appropriate authentication to certain mutations and queries.
The following things need to be done to finish the API:
The text was updated successfully, but these errors were encountered: