Skip to content

non-guid cursors #6

Description

@rkotenko

It appears that the overloads for ToCursor work correctly. I can choose my id field and have it converted to a base64 string. However, within the ToConnection method, the from methods are set to use the extensions that return Guids, which I do not use. There is no way to indicate that I want to go from cursor to int.

I am not sure how to solve this. Any ideas? I am trying to avoid writing another overload of ToConnection. I also want to avoid a parameter if-check. I am mostly a functional programmer so I prefer my functions to do one thing if I can.

Sidenote: as a functional programmer, C# really kills me. :-D

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions