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

XmlSerializer WSDL: XmlAttribute: Set use="required" attribute #1007

Merged
merged 1 commit into from
Feb 7, 2024

Commits on Feb 7, 2024

  1. XmlSerializer WSDL: XmlAttribute: Set use="required" attribute

    If a member has been annotated with the [XmlAttribute] attribute, and it
    is a value type, such as int, it will get the use="required" attribute.
    However if it has a ShouldSerialize*() method, then it is considered
    optional and the use="required" attribute is not added.
    
    Added a new test to verify this behavior.
    
    Fixes DigDes#1006
    vidrenning committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    634b5eb View commit details
    Browse the repository at this point in the history