hanakoa / alpaca

Containerized Go µServices for authentication and authorization.
https://hanakoa.github.io/alpaca/
MIT License
5 stars 0 forks source link

Separate DTO struct? (for not returning null fields) #30

Closed kevinmichaelchen closed 6 years ago

kevinmichaelchen commented 6 years ago

Null fields are being returned in JSON. Should we have a separate struct?

kevinmichaelchen commented 6 years ago

Sometimes I use a separate struct for the request.