@tinacms/graphql 0.58.1 → 0.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.58.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fffce3af8: Don't cache graphql schema during resolution, this was causing the schema to go stale, while updating the schema.gql, so GraphQL tooling thought the value was updated, but the server was still holding on to the cached version
8
+
3
9
  ## 0.58.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -23262,11 +23262,7 @@ var Database = class {
23262
23262
  };
23263
23263
  this.getGraphQLSchema = async () => {
23264
23264
  const graphqlPath = import_path4.default.join(GENERATED_FOLDER, `_graphql.json`);
23265
- if (!this._graphql) {
23266
- const _graphql = await this.store.get(graphqlPath);
23267
- this._graphql = _graphql;
23268
- }
23269
- return this._graphql;
23265
+ return this.store.get(graphqlPath);
23270
23266
  };
23271
23267
  this.getGraphQLSchemaFromBridge = async () => {
23272
23268
  const graphqlPath = import_path4.default.join(GENERATED_FOLDER, `_graphql.json`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.58.1",
3
+ "version": "0.58.2",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [