Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide Bind methods like gin framework #191

Open
teckick opened this issue May 3, 2021 · 1 comment
Open

provide Bind methods like gin framework #191

teckick opened this issue May 3, 2021 · 1 comment
Assignees

Comments

@teckick
Copy link

teckick commented May 3, 2021

Bind methods are provided in gin.Context: https://pkg.go.dev/github.com/gin-gonic/gin#readme-model-binding-and-validation

It is useful when post json struct data in request body.

Will flamingo provide similar api in the future?

@tessig
Copy link
Member

tessig commented May 6, 2021

Hello,

thank you for your request. Currently we do not have this on the roadmap.

For processing input data and validation we currently rely on our form module (https://github.com/i-love-flamingo/form).
The module can currently only process form data. However, we could imagine that in the future it will also support other data structures such as JSON and XML.

Hope this helps you for now. Feel free to reach out with further questions.

@tessig tessig self-assigned this May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants