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

fix: both initialXml and initialJson are required #92

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

randrei12
Copy link
Contributor

Both initialXml and initialJson are required, even if you want to use just one of them. To solve this issue I made all both properties optional. If the value isn't provided, they useBlocklyWorkspace will use null (which doesn't cause any errors).

Copy link
Owner

@nbudin nbudin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, this seems like an oversight on my part - I didn't intend for initialXml to be required in the first place. Thanks!

@nbudin nbudin merged commit d6b9c60 into nbudin:main Mar 7, 2023
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 participants