Skip to content

Loading…

DDC-9: Add support to "options" in XML Mapping Driver #5425

Closed
doctrinebot opened this Issue · 2 comments

1 participant

@doctrinebot

Jira issue originally created by user romanb:

Currently users can't define configurable options for their custom types. To support a configurable approach, we should inject an options items that holds configuration data.

Here is the suggested approach:

<field name="..." type="mytype">
    <options>
        <option name="xxx" value="xxx"/> 
        ...
    </options>
    ... 
</field>

I already updated YAML and Annotations drivers to support it. XML is a little more complicated and required some changes in XSD file.

@doctrinebot

Comment created by romanb:

This is supported in the XML driver we just need to update the xsd file.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.0-ALPHA2 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.