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

Implement short expose syntax for XML as it is available for YAML #1127

Merged
merged 1 commit into from
Sep 20, 2019

Conversation

goetas
Copy link
Collaborator

@goetas goetas commented Sep 20, 2019

Q A
Bug fix? no
New feature? yes
Doc updated no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT

When specifying exclusion-policy=ALL, mentioning a property makes it implicitly exposed

<?xml version="1.0" encoding="UTF-8"?>
<serializer>
    <class name="JMS\Serializer\Tests\Fixtures\Person" exclusion-policy="ALL">
        <property name="name"/>
    </class>
</serializer>

@goetas goetas force-pushed the short-expose-syntax-xml branch from 318bc9c to fb5b49f Compare September 20, 2019 14:06
@goetas goetas merged commit 519263f into master Sep 20, 2019
@goetas goetas deleted the short-expose-syntax-xml branch September 20, 2019 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant