Skip to content

Conversation

@Dakror
Copy link
Contributor

@Dakror Dakror commented Oct 15, 2022

While DataModelConstructor::BindCustomDataVariable is useful, i would need to do it for every occurrence of a variable with that custom type definition across all my data models.

This new method registers the VariableDefinition globally in the Type Registry, just like RegisterScalar etc would. Thus all models can use any variables of the type transparently.

@mikke89 mikke89 added data binding enhancement New feature or request labels Oct 17, 2022
@mikke89
Copy link
Owner

mikke89 commented Nov 4, 2022

Looks good to me, thank you!

@mikke89 mikke89 merged commit cacd8f8 into mikke89:master Nov 4, 2022
@Dakror Dakror deleted the register-custom-vardef branch November 5, 2022 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data binding enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants