Closed drksbr closed 1 year ago
What exactly is the issue?
What exactly is the issue?
It's not really a library problem. It's my doubt about how to use the library properly.
And thank you for the wonderful work you did to come up with a super simple way to run a graphql server.
Guys I apologize for opening the issue. I found the solution.
It would basically use the following annotation in the struct
type DeviceData struct {
IDField primitive.ObjectID `bson:"_id,omitempty"`
AliasField string `bson:"alias"`
IPaddrField string `bson:"ipaddr"`
// ServicesField *[]*Service
}
bson:"_id,omitempty"
Hey guys.
It must be silly, but I'm not managing to evolve in this issue of ID fields.
Example:
Can you help me with this issue?