Skip to content

STJ 9.0 alternative approach#5941

Merged
roji merged 2 commits intonpgsql:mainfrom
NinoFloris:STJ-reflection
Nov 19, 2024
Merged

STJ 9.0 alternative approach#5941
roji merged 2 commits intonpgsql:mainfrom
NinoFloris:STJ-reflection

Conversation

@NinoFloris
Copy link
Member

As discussed offline.

@roji roji changed the base branch from hotfix/9.0.1 to main November 19, 2024 10:50
@roji roji merged commit 1d93236 into npgsql:main Nov 19, 2024
@roji roji deleted the STJ-reflection branch November 19, 2024 10:57
roji pushed a commit that referenced this pull request Nov 19, 2024
readonly Type[] _jsonClrTypes = jsonClrTypes ?? [];
TypeInfoMappingCollection? _mappings;

#if NET9_0_OR_GREATER
Copy link
Contributor

@eerhardt eerhardt Nov 19, 2024

Choose a reason for hiding this comment

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

Did you mean to multi-target for net9.0? As of right now, this code is dead since this project doesn't have a net9.0 target.

Copy link
Member

Choose a reason for hiding this comment

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

Yep, we're aware - this is just to make sure we get the proper thing if and when we do target net9.0+ (and won't use reflection...).

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.

4 participants