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

Make Error Objects Easier #1074

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Conversation

commonsensesoftware
Copy link
Collaborator

Make Error Objects Easier

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

This PR makes using and configuring Error Objects easier based on feedback outlined in discussion #1072.

  • Expose the internal JsonSerializerContext so that extenders can configure JsonOptions
  • Add the extension method AddErrorObjects that simplifies the required setup, including for custom implementations

@commonsensesoftware commonsensesoftware merged commit b0c3403 into main Mar 26, 2024
6 checks passed
@commonsensesoftware commonsensesoftware deleted the dev/css/easier-error-objects branch March 26, 2024 02:21
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