management-sdk
management-sdk copied to clipboard
GraphCMS Management SDK
I have a model with a simple field I created. In the next migration I wanted to make this field required, however the update was being rejected, even though I...
``` client.updateUnionField({ apiId: 'target', displayName: 'Placement target', modelApiId: 'DynamicRow', reverseField: { modelApiIds: [ , ], // Here should be an option for visibility, as is done in client.createUnionField. // This...
- CRUD component - add/update component fields to model/component
Hey there, I'm looking to migrate a project to graphcms / hygraph and need to generate my types through the sdk. Everything seems possible except for the components. The schema...
I noticed that from the management sdk it is not possible or at least not documented on how to treat a slug type so that it generates the slug based...
Hi, I've noticed that updating a validation on field using `updateSimpleField` doesn't work. When I try to do that I'm getting an error: `Error: field validations not supported for undefined...
Exposes `registerChanges` to apply bulk changes onto the current migration. Example usage: ```js const migration = newMigration({ endpoint: "...", authToken: "...", }); migration.registerChanges([ { createModel: { apiId: "Post", apiIdPlural: "Posts",...
Hi, I've noticed that when updating a UnionField to include new models, the existing settings for this union aren't added to the new models. For example when adding a new...
When I use the management SDK to set a field position it doesn't work, it does however place the field at the top of the UI. It may be better...