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!
Hello,
I encountered an issue when using Sheriff with inline tags. Consider the following code:
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.DefaultModelas a standaloneDefaultModelproperty.Is there a way to make inline tags function correctly with Sheriff?
Thank you for your help!