Skip to content

refactor settings api to be simpler and more type safe#7127

Open
afbrock wants to merge 1 commit intov2from
adam/simpler_settings_api
Open

refactor settings api to be simpler and more type safe#7127
afbrock wants to merge 1 commit intov2from
adam/simpler_settings_api

Conversation

@afbrock
Copy link
Copy Markdown

@afbrock afbrock commented Mar 31, 2026

Why are the changes needed?

The previous API was clunky when we went to start using it, so before it gets any adoption we are changing the interface to be simpler, easier to understand and use, and type safe.

What changes were proposed in this pull request?

This PR removes the 'raw' unstructured APIs and instead only allows get/getForEdit/Update using the structured and typed settings message.

How was this patch tested?

Unit tests and devbox testing with the included buf curl scripts. (along with the cloud pr: https://github.com/unionai/cloud/pull/15164 )

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Docs link

@github-actions github-actions bot mentioned this pull request Apr 1, 2026
3 tasks
@afbrock afbrock force-pushed the adam/simpler_settings_api branch from 276a4bf to d1b4565 Compare April 1, 2026 18:15
@afbrock afbrock force-pushed the adam/simpler_settings_api branch from d1b4565 to 9d79bbf Compare April 1, 2026 21:20
@afbrock afbrock force-pushed the adam/simpler_settings_api branch from 9d79bbf to 869166d Compare April 1, 2026 23:10
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