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

Mark types as locally configured types #40

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

veewee
Copy link
Member

@veewee veewee commented Dec 20, 2024

Q A
Type improvement
BC Break no
Fixed issues

Summary

Marks types as local if they are inline types.

Examples:

<element name="GetCustomerDetailsRequest">
    <complexType>
        <sequence>
            <element name="customerId" type="xsd:string" />
        </sequence>
    </complexType>
</element>

GetCustomerDetailsRequest -> will be marked as local because it uses an internal complexType.

<complexType name="VehicleCoreType">
    <attribute name="DriveType" use="optional">
        <simpleType>
            <restriction base="NMTOKEN">
                <enumeration value="AWD" />
                <enumeration value="4WD" />
                <enumeration value="Unspecified" />
            </restriction>
        </simpleType>
    </attribute>
</complexType>

The type of property DriveType -> will be marked as local because it uses an internal simpleType.

@veewee veewee added the enhancement New feature or request label Dec 20, 2024
@veewee veewee merged commit 1128124 into php-soap:main Dec 20, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant