Skip to content

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