Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

got the wrong id when unmarshel a stract with an Int64 id #190

Description

@LatrecheYasser

i get a wrong id when Unmarshal json object to a struct with id of int64, in general this id is the true id in the db - 1 !!
for now i think the problem is with a conversion somewhere there, when the lib converts the string id from the json object to an int64 id !!! but i'm not sure.
is there any solution for this (any other solution without changing the type of the id into a string). ?

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