Skip to content

BUG (NuGet): Geotab.Checkmate.ObjectModel.ToVersion is a long, should be a string #155

@IanKemp

Description

@IanKemp

I don't know why whoever wrote the NuGet package decided to completely ignore your own API docs that say this field is a string, but this property's definition needs to be corrected. Just because it looks like a hexadecimal number, doesn't mean it's a hexadecimal number.

For anyone else struggling with this, because they need to use FeedResult.ToVersion as the fromVersion in a subsequent call to GetFeed, you need to do the following:

var fromVersion = feedResult?.ToVersion?.ToString("x16");

Of course, should this property be corrected to string, the above will no longer be necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions