Skip to content

Feat/DatacontractException#1255

Merged
jschoedl merged 9 commits into
datacontract:mainfrom
dmaresma:feat/DatacontractException
May 29, 2026
Merged

Feat/DatacontractException#1255
jschoedl merged 9 commits into
datacontract:mainfrom
dmaresma:feat/DatacontractException

Conversation

@dmaresma
Copy link
Copy Markdown
Contributor

related to the issues #1251

  • [x ] Tests pass (uv run pytest)
  • [ x] Code formatted (uv run ruff check --fix && uv run ruff format)
  • README.md updated (if relevant)
  • CHANGELOG.md entry added

Copy link
Copy Markdown
Collaborator

@jschoedl jschoedl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Could you wrap the code in a try/catch block and fall back to the original error message if something goes wrong (maybe move the whole logic to a seperate function)? To not loose it completely, we could log errors from the conversion as logger.info.

@jschoedl jschoedl merged commit 14c3e04 into datacontract:main May 29, 2026
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.

feat/ for the schema and property DataContract Exception raise schema name and property name instead of index

2 participants