-
Notifications
You must be signed in to change notification settings - Fork 7
Dot option support for nested struct #9
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hello
this library has been very helpful in our project.
Currently, nested structs are encoded using bracket notation
However, some APIs require dot-notation keys insted, such as
user.from=1601623397728
user.verified=true
Proposed Feature
Introduce an optional tag modifier "dot":
type Query struct {
User User `qs:"user,dot"`
}
Expected output:
user.from=1601623397728&user.verified=true
Thank you for considering this feature.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request