Can a step in codegen.yml wait for another one to finish? #5529
-
We have a generates:
schema.graphql:
schema: ./graphql-server/index.ts
plugins:
- schema-ast
clientTypes.ts:
schema: ./schema.graphql
documents: ./gqls/*.ts
plugins:
- typescript
- typescript-operations It sort of works, mostly after Is something like this possible? generates:
schema.graphql:
schema: ./graphql-server/index.ts
plugins:
- schema-ast
clientTypes.ts:
# Name of the step that should finish first:
dependsOn: schema.graphql
schema: ./schema.graphql
documents: ./gqls/*.ts
plugins:
- typescript
- typescript-operations |
Beta Was this translation helpful? Give feedback.
Answered by
dotansimha
Mar 7, 2021
Replies: 1 comment
-
At the moment, it's not possible. @kamilkisiela tried to implement it before, but it caused more issues than value. I'm totally open to giving it another try (PRs are welcome!) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dotansimha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment, it's not possible. @kamilkisiela tried to implement it before, but it caused more issues than value. I'm totally open to giving it another try (PRs are welcome!)