Skip to content

References support refinement #3228

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

Merged
merged 8 commits into from
Mar 28, 2023

Conversation

carlesarnal
Copy link
Member

@carlesarnal carlesarnal commented Mar 23, 2023

  • Calculate the content hash taking into account the references. Now, two artifacts with the same content but with different references result in two completely separated artifacts (different contentId and different content hash). This is especially useful for evolution, where a new version of the same artifact might point to a newer version of the referenced one but without changing the actual content.
  • Take references into account for compatibility evolution. The avro compatibility library was broken when references were used. Now references are properly used to calculate the compatibility.
  • Implement basic json schema evolution support for artifacts with references. Basically, the reference is checked to be resolvable, but no further checks are made (those checks happen at the artifact reference level).

@apicurio-bot
Copy link

apicurio-bot bot commented Mar 23, 2023

Thank you for creating a pull request!

Pinging @jsenko to respond or triage.

@carlesarnal carlesarnal force-pushed the references-support-refinement branch from 6986143 to 6f410ff Compare March 24, 2023 13:17
@EricWittmann EricWittmann merged commit 9628c43 into Apicurio:main Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment