-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hello,
I encountered an issue when using Sheriff with inline tags. Consider the following code:
type Post struct {
mgm.DefaultModel `json:",inline" bson:",inline" groups:"api"`
}The inline tag does not seem to work as expected. Instead of merging the fields of mgm.DefaultModel into the parent struct, it outputs mgm.DefaultModel as a standalone DefaultModel property.
Is there a way to make inline tags function correctly with Sheriff?
Thank you for your help!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels