Skip to content

Map specialized NodaTime range types by default - #4252

Merged
roji merged 1 commit into
npgsql:mainfrom
roji:NodaTimeRangeArrays
Dec 29, 2021
Merged

roji merged 1 commit into
npgsql:mainfrom
roji:NodaTimeRangeArrays

Conversation

@roji

@roji roji commented Dec 29, 2021

Copy link
Copy Markdown
Member

tstzrange[] -> Interval[] (instead of NpgsqlRange[])
daterange[] -> DateInterval[] (instead of NpgsqlRange[])

Fixes #4234

tstzrange[] -> Interval[] (instead of NpgsqlRange<Instant>[])
daterange[] -> DateInterval[] (instead of NpgsqlRange<LocalDate>[])

Fixes npgsql#4234
@roji
roji requested a review from vonzshik as a code owner December 29, 2021 12:35
@roji
roji enabled auto-merge (squash) December 29, 2021 12:36
@roji
roji merged commit 39cc38b into npgsql:main Dec 29, 2021
@roji
roji deleted the NodaTimeRangeArrays branch December 29, 2021 12:51
roji added a commit that referenced this pull request Dec 29, 2021
tstzrange[] -> Interval[] (instead of NpgsqlRange<Instant>[])
daterange[] -> DateInterval[] (instead of NpgsqlRange<LocalDate>[])

Fixes #4234

(cherry picked from commit 39cc38b)
@roji

roji commented Dec 29, 2021

Copy link
Copy Markdown
Member Author

Backported to 6.0.3 via b617faf

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.

tstzrange[] and daterange[] aren't mapped to NodaTime Interval[] and DateInterval[] by default

2 participants