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

Support Composite and Repeating Fields As First Class Models #40

Open
dixonwhitmire opened this issue Aug 17, 2021 · 0 comments
Open

Support Composite and Repeating Fields As First Class Models #40

dixonwhitmire opened this issue Aug 17, 2021 · 0 comments

Comments

@dixonwhitmire
Copy link
Member

dixonwhitmire commented Aug 17, 2021

Support composite fields such as the 271's EB13 as "first class models". This in turn will support granular validations. This is a notable improvement over existing multi-value support which just treats a composite field as a single string.

I have "decorated" each component field in the code base so that we can find these easily. To find each component field search for "is_component = True" in the "segments" module in either x12/v4010/segments.py or x12/v5010/segments.py.

These changes will require revisions to this conditional block.

@dixonwhitmire dixonwhitmire changed the title Support Composite Fields As First Class Models Support Composite and Repeating Fields As First Class Models Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant