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

schema: Allow handlers to be in separate files #1074

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

rohansingh
Copy link
Member

Allow handler functions for schema fields to be imported from different files. Previously we were referencing handler functions by the function name.

Now we hold onto the Starlark reference so we can always find the function, even if it's imported from a different file.

Allow handler functions for schema fields to be imported from different
files. Previously we were referencing handler functions by the function
name.

Now we hold onto the Starlark reference so we can always find the
function, even if it's imported from a different file.
@rohansingh rohansingh requested a review from matslina May 15, 2024 17:31
@rohansingh rohansingh merged commit 1d1639c into main May 15, 2024
7 checks passed
@rohansingh rohansingh deleted the rohan/handler-fun branch May 15, 2024 17:58
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.

None yet

1 participant