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

Support implicit casts from JsonDynamicValue. #16696

Merged

Conversation

gvkries
Copy link
Contributor

@gvkries gvkries commented Sep 9, 2024

A quick fix to support implicit conversions from JsonDynamicValue to other types, as it was possible before with NSJ.

This should fix usages such as this one:
https://github.com/agriffard/TheBootstrapTheme/blob/9993e862945489e29170402aeaf6757c72b70ecc/src/TheBootstrapTheme/Views/Layout.cshtml#L10

Not sure if we should take this now, but if you don't mind, please check it out @agriffard .

/cc @agriffard @MikeAlhayek @sebastienros

Fixes agriffard/TheBootstrapTheme#34

@MikeAlhayek
Copy link
Member

@sebastienros I would like to see another approval on this PR before we release 2.0

@MikeAlhayek MikeAlhayek merged commit df099b9 into OrchardCMS:main Sep 9, 2024
11 checks passed
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.

2.0 preview error
3 participants