Skip to content

feat(database): use PUT for schema field saves#295

Open
kkopanidis wants to merge 1 commit into
ui-rewritefrom
feat/schema-put-patch-split
Open

feat(database): use PUT for schema field saves#295
kkopanidis wants to merge 1 commit into
ui-rewritefrom
feat/schema-put-patch-split

Conversation

@kkopanidis

Copy link
Copy Markdown
Contributor

Summary

  • Adds putSchema() calling PUT /database/schemas/:id for full field-map replacement
  • Schema editor uses PUT when saving existing schemas
  • Settings panel keeps PATCH for conduitOptions only

Related

Test plan

  • npx tsc --noEmit
  • Edit schema fields in admin UI and save
  • Change schema CMS/auth settings in settings panel (PATCH path)

Schema editor sends full fields via putSchema; settings panel keeps PATCH for conduitOptions only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant