Skip to content

Conversation

NinoFloris
Copy link
Member

@NinoFloris NinoFloris commented Feb 1, 2024

This PR brings the unsupported checks up-to-date with the work we did to support cross-cutting opt-ins for array/ranges/multiranges. Notably we are now flowing down whether any of those api gestures were called to decide whether to surface these NotEnabled diagnostics.

I've also removed checks that were needed when we did 'object or default' multipass resolving, so we would not trigger an exception on the first pass (we might remove the multi-pass mechanism entirely at a later date). The complete reliance on multi-pass resolutions was ameliorated by synthesizing an object mapping for default mappings instead; Fixing the startup time regression observed in the perf lab by allowing resolvers to lazily create their mappings.

And finally this also fixes an oversight where we wouldn't trigger any helpful exceptions on the array variant of datatype names checked in the unsupported resolver.

Fixes #5550 and should go into 8.0.2

@NinoFloris NinoFloris force-pushed the refactor-unsupported-infra branch from 8d3ca13 to 1dd0795 Compare February 2, 2024 16:14
Copy link
Contributor

@vonzshik vonzshik left a comment

Choose a reason for hiding this comment

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

LGTM

@NinoFloris NinoFloris merged commit 7f8c257 into main Feb 5, 2024
@NinoFloris NinoFloris deleted the refactor-unsupported-infra branch February 5, 2024 18:55
NinoFloris added a commit that referenced this pull request Feb 5, 2024
@NinoFloris
Copy link
Member Author

Backported to 8.0.2 via 7691c95

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.

Handle object typed mappings in unsupported resolver
2 participants