Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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