Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Upload Schema Asset for releases #275

Closed
jasonbahl opened this issue Jul 19, 2021 · 1 comment
Closed

Upload Schema Asset for releases #275

jasonbahl opened this issue Jul 19, 2021 · 1 comment

Comments

@jasonbahl
Copy link
Contributor

Much like WPGraphQL uploads a Schema asset for releases, it would be nice for WPGraphQL for ACF to do similar so we could automate Schema diffs.

In order to do this, we would also need to use a consistent ACF Field Group configuration so we could show how it's been impacted by changes over time.

We have this field group: https://github.com/wp-graphql/wp-graphql-acf/blob/develop/docs/field-group-examples-export.json

We could use that in a Github workflow, import it, generate the schema, upload the schema asset, diff the schemas on next release.

We could potentially do this with more than one field group / sets of field groups too 🤔

@jasonbahl jasonbahl self-assigned this Jul 19, 2021
jasonbahl added a commit that referenced this issue Jul 19, 2021
…rtifact

#275 - Add Github Workflow to generate schema with ACF Field Group imported
jasonbahl added a commit that referenced this issue Jul 19, 2021
jasonbahl added a commit that referenced this issue Jul 19, 2021
@jasonbahl
Copy link
Contributor Author

Closed by #279

We can now see the Schema.graphql being generated and uploaded to the releases: https://github.com/wp-graphql/wp-graphql-acf/releases/tag/v0.5.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant