I have the following situation to address:
• In one repo, we have a Python application. It uses Strawberry to generate a GraphQL schema from some models.
• In another repo, we have a React application. It uses Apollo to codegen GraphQL code from a schema. Right now, it gets the schema from a running version of the Python code.
I’d like to unify the repos, have the Python build process store the GraphQL schema as a static file (that gets checked in), and have the React/Apollo build use that file for the codegen.
My understanding is that Pants is a good fit for the Python part, but, doesn’t have JS support yet, so I’m wondering what folks here would recommend as a best-practice way to address this.