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

Allow not setting optional objects and arrays whilst encoding. #24

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

veewee
Copy link
Member

@veewee veewee commented Sep 3, 2024

Q A
Type bug/improvement
BC Break no
Fixed issues Fixes #23

Summary

Fixes #23.

This PR allows for not having to define optional sub-objects and arrays whilst encoding.
They are left out of the resulting encoded XML - as per XSD specification.

@veewee veewee added bug Something isn't working enhancement New feature or request labels Sep 3, 2024
@veewee veewee merged commit a8f06bf into php-soap:main Sep 3, 2024
15 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Encode requires elements even if minOccurs="0"
1 participant