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

Feature: optional dictionaries, also with polymorphic types #34

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

pingelit
Copy link
Owner

@pingelit pingelit commented Aug 1, 2024

In WebIDL, non pod types that have a default value must be indicated by setting them to {}.

  1. This caused errors in the code generation
  2. This did not allow polymorphic datastructures to defined the default object.

With this PR, both these issues are dealt with.

@pingelit pingelit added bug Something isn't working enhancement New feature or request tests labels Aug 1, 2024
@pingelit pingelit self-assigned this Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant