Skip to content

PagedList: Replace nullable types with an Option utility. #1

@az-raven

Description

@az-raven

Currently, we use T where T: class in PagedList as well as the null value as an empty slot in the list. This is a bit of a hack, and it would be better to use an Option type or similar to represent the null value. This would also allow us to use value types in PagedList.

FIXME for reference:

// FIXME: This should be converted to use TaggedUnion<A, B> instead of
// using nulls to represent empty items.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions