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

Implement derefence proto #4272

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

carlesarnal
Copy link
Member

@carlesarnal carlesarnal commented Jan 29, 2024

@EricWittmann this PR includes the same as #4256 but for protobuf. The biggest caveat is that, for now, it only works for dereferencing schemas that live under the same package.

@carlesarnal carlesarnal changed the base branch from main to 2.5.x January 29, 2024 19:43
@apicurio-bot
Copy link

apicurio-bot bot commented Jan 29, 2024

Thank you for creating a pull request!

Pinging @jsenko, @EricWittmann to respond or triage.

@carlesarnal
Copy link
Member Author

carlesarnal commented Jan 30, 2024

@EricWittmann I'm going to document the limitation I mentioned and this will be ready to merge. After some investigations, I'm not even sure if this is going to be possible. Note that, if no dereference happens, having references in separate packages is perfectly fine, I just haven't discovered a way to dereference messages with different packages in a single, meaningful object that can then be parsed to deserialize messages.

Copy link
Member

@EricWittmann EricWittmann left a comment

Choose a reason for hiding this comment

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

lgtm

@carlesarnal carlesarnal marked this pull request as ready for review March 1, 2024 08:16
@carlesarnal carlesarnal force-pushed the implement-derefence-proto branch 2 times, most recently from 3dc4e48 to 2e01069 Compare March 1, 2024 08:21
@carlesarnal carlesarnal force-pushed the implement-derefence-proto branch from 2e01069 to d9f38b0 Compare March 1, 2024 10:05
@carlesarnal carlesarnal merged commit ffda747 into Apicurio:2.5.x Mar 1, 2024
15 checks passed
@carlesarnal carlesarnal deleted the implement-derefence-proto branch March 1, 2024 10:33
@carlesarnal carlesarnal added the port/2.x-to-3.x Port from 2.x to 3.x label May 6, 2024
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.

Implement Protobuf dereference support in the API.
2 participants