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

[validation] Check that types are not renamed or are not moved to a different module/package #3660

Open
swallez opened this issue Jan 30, 2025 · 0 comments

Comments

@swallez
Copy link
Member

swallez commented Jan 30, 2025

From a JSON format perspective, moving or renaming type doesn't change anything. It has however implications on generated code, particularly in statically typed languages where it causes a breaking change (previous code won't compile).

So we need a validation rule that fails if a type is moved around. This is a stateful validation that has to compare two schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants