Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read service gqlgen.yml file to find a list of related graphql schemas
Summary: In order to satisfy `make gqlgen`, we needed to add a shared '@Migrate' directive that services can reference (see D62237). We then ran into errors linting this shared file because it duplicates the `migrate` directive we manually add as part of the linter here. To fix, I resolved the TODO here to just read `gqlgen.yml` for the list of schema files that each service depends on. Test Plan: With these changes applied in `khan-linter` and with webapp including the changes from `D62237` `ka-lint pkg/graphql/shared-schemas/side_by_side_directives.graphql` and saw no errors. I then ran `make check` within `services/content` and likewise saw no error. Reviewers: csilvers, marksandstrom Reviewed By: csilvers Subscribers: rachelmarincola, kevinb Differential Revision: https://phabricator.khanacademy.org/D62244
- Loading branch information