Skip to content

feat: use pointer for optional structures#139

Open
rrreeezzz wants to merge 1 commit intodroyo:masterfrom
rrreeezzz:fix/pointer-omitempty-struct
Open

feat: use pointer for optional structures#139
rrreeezzz wants to merge 1 commit intodroyo:masterfrom
rrreeezzz:fix/pointer-omitempty-struct

Conversation

@rrreeezzz
Copy link
Copy Markdown

Following the revert #102 and your comment on #101, I applied it and it seems to work well. I found the original xsd that was causing issue in #101 (https://www.fpml.org/spec/fpml-5-9-3-wd-3/html/recordkeeping/schemaDocumentation/schemas/xmldsig-core-schema_xsd/schema-overview.html#a76), but there was still issues with ArrayType nodes. Not using pointers for ArrayType fixed these.

Not sure if using pointers for optional fields is still of interest though.

Thanks for your work !

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

Successfully merging this pull request may close these issues.

1 participant