Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Updated function signature:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Preamble
Today, all functions in superposition are only validation functions that have the signature:
which helps a user validate their dimensions and default configs with external systems to further ensure safety of configs.
Problem
Users similarly have been asking for a feature that helps them fill the field in a form for dimensions/default configs with suggestions from an external system. We can start the implementation with dimensions.
Solution
Introduce a concept called function type that has 2 values:
All existing functions will be marked as validation functions, and when a user creates a new function - they have the option to pick between these two options.
The signature of the AUTOCOMPLETE function is:
The code is executed in a similar way for both function types with only the invocation changes.
DB changes
Create an enum to represent function types
then alter the functions table to add the column function type
Beta Was this translation helpful? Give feedback.
All reactions