Skip to content

Add AllowUnknownEnumValues setting to add option to disable enumeration validation #1290

Description

@INeedMySpace

When testing messages from market unknown enum value in messages lead to validation exception, e.g.
if PartyRole has value that is not represented in FIX.xml

<field number="452" name="PartyRole" type="INT">
      <value enum="1" description="EXECUTING_FIRM"/>
      <value enum="2" description="BROKER_OF_CREDIT"/>
      <value enum="3" description="CLIENT_ID"/>

Rejecting invalid message: quickfix.IncorrectTagValue: Value is incorrect (out of range) for this tag, field=452 field=452:
Please introduce settings parameter which could allow such values.

Similar feature implemented in QuickFixN - connamara/quickfixn#929

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions