Skip to content

Conversation

@SentryMan
Copy link
Collaborator

Now the generator will only cascade if the type is being used for validation

Now the generator will only cascade if the type is being used for validation
@SentryMan SentryMan added this to the 2.15 milestone Nov 24, 2025
@SentryMan SentryMan self-assigned this Nov 24, 2025
@SentryMan SentryMan added the enhancement New feature or request label Nov 24, 2025
@SentryMan SentryMan mentioned this pull request Nov 24, 2025
@rbygrave
Copy link
Contributor

Oh, so this isn't actually a runtime behaviour change? It's only that currently it's generating extra adapters that effectively have no validation.

@SentryMan
Copy link
Collaborator Author

It's only that currently it's generating extra adapters that effectively have no validation.

yeah, this happened because I originally copied the cascade logic from jsonb, where cascading on every type involved was desirable.

@SentryMan SentryMan enabled auto-merge (squash) November 24, 2025 20:26
@SentryMan SentryMan merged commit bc15f42 into main Nov 24, 2025
8 checks passed
@SentryMan SentryMan deleted the avoid-unused-adapters branch November 24, 2025 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants