Skip to content

Limit the config in custom config schematics #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2025

Conversation

ryan-the-crayon
Copy link
Collaborator

When constructing config schematics in the sdk, limit the field type to one of:

  • boolean
  • numeric
  • select
  • string
  • stringArray

Code_TOQPUDm2gF

This is done by splitting our type definitions into two stages: "basic" and "global". Basic only includes those 5 and global uses those 5 + the remaining ones.

We then change the "createConfigSchematics" to read from the basic type library as oppose to the global type library.

@github-actions github-actions bot added the CLA signed Indicates if all contributors have signed the CLA label Jun 26, 2025
@ryan-the-crayon ryan-the-crayon merged commit 280fa48 into main Jun 27, 2025
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2025
@ryan-the-crayon ryan-the-crayon deleted the ryan/limit-config-field-types branch June 27, 2025 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA signed Indicates if all contributors have signed the CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants