Skip to content

feat: add support to ignore unknown properties/attributes/elements during deserialization#178

Merged
jkowalleck merged 13 commits intomainfrom
xml-deserialize_ignore_foreign-properties
Jul 21, 2025
Merged

feat: add support to ignore unknown properties/attributes/elements during deserialization#178
jkowalleck merged 13 commits intomainfrom
xml-deserialize_ignore_foreign-properties

Conversation

@jkowalleck
Copy link
Collaborator

@jkowalleck jkowalleck commented Jul 17, 2025

Added

  • function serializable_class() got a new optional named parameter ignore_unknown_during_deserialization=False

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck requested a review from madpah as a code owner July 17, 2025 14:46
@jkowalleck jkowalleck marked this pull request as draft July 17, 2025 14:47
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck changed the title [WIP] unknown properties, attributes, elements allow ignoring unknown properties/attributes/elements during deserialization Jul 18, 2025
@jkowalleck jkowalleck changed the title allow ignoring unknown properties/attributes/elements during deserialization feat: allow ignoring unknown properties/attributes/elements during deserialization Jul 18, 2025
@jkowalleck jkowalleck changed the title feat: allow ignoring unknown properties/attributes/elements during deserialization feat: add support to ignore unknown properties/attributes/elements during deserialization Jul 18, 2025
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck marked this pull request as ready for review July 18, 2025 09:04
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
@jkowalleck jkowalleck merged commit 3c51231 into main Jul 21, 2025
19 checks passed
@jkowalleck jkowalleck deleted the xml-deserialize_ignore_foreign-properties branch July 21, 2025 09:54
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.

feat: deserialization should ignore unregistered elements

1 participant