Skip to content

Map daterange to NodaTime DateInterval #3973

@roji

Description

@roji

NodaTime has a native DateInterval type for representing a range of dates, which is ideal for mapping to PostgreSQL daterange, though we should continue supporting mapping to NpgsqlRange<LocalDate> as well.

This would be a small breaking change, since by default we'd start returning DateInterval instead of NpgsqlRange<LocalDate>.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions