Skip to content
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

spec: can we make SchemaRecord support arbitrary schema fields? #9534

Open
runspired opened this issue Sep 18, 2024 · 0 comments
Open

spec: can we make SchemaRecord support arbitrary schema fields? #9534

runspired opened this issue Sep 18, 2024 · 0 comments

Comments

@runspired
Copy link
Contributor

runspired commented Sep 18, 2024

A thought I had:

can we add another category of methods to the schema service:

registerKind(kind: KindFn)
kind(field: Field | { kind: string }): KindFn;

this would either augment the default schema-record behaviors or (if we determine the factoring can support it) change the implementation such that all default behaviors for field kinds are implemented via this mechanism at all, making schema-record fully amorphous

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: needs triage
Development

No branches or pull requests

1 participant