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

Auto Parse/Binding for Request Params and Body #26

Closed
3 tasks done
jeevatkm opened this issue Apr 9, 2017 · 2 comments
Closed
3 tasks done

Auto Parse/Binding for Request Params and Body #26

jeevatkm opened this issue Apr 9, 2017 · 2 comments
Assignees
Labels
Projects

Comments

@jeevatkm
Copy link
Member

jeevatkm commented Apr 9, 2017

Goal is achieve auto bind of request values into controller action parameters based on content type.

In addition to that, create an extensible RequestParser capability by Content-Type. So that user can write their own request parser by content-type.

  • Request parser implementation
  • Auto Parse and binding by content-type and datatype
  • Documentation
@jeevatkm jeevatkm created this issue from a note in aah Roadmap (Current Iteration) Apr 9, 2017
@jeevatkm jeevatkm self-assigned this Apr 9, 2017
@jeevatkm jeevatkm modified the milestone: v0.5 Milestone Apr 18, 2017
@jeevatkm jeevatkm moved this from Current Iteration to Backlog in aah Roadmap Apr 21, 2017
@adelowo adelowo mentioned this issue Jun 23, 2017
@jeevatkm jeevatkm moved this from Backlog to v0.8 Iteration in aah Roadmap Aug 4, 2017
@jeevatkm jeevatkm added this to the v0.8 Milestone milestone Aug 4, 2017
@jeevatkm jeevatkm moved this from v0.8 - Iteration to v0.8 - In Progress in aah Roadmap Aug 14, 2017
jeevatkm added a commit to go-aah/ahttp that referenced this issue Aug 17, 2017
@jeevatkm jeevatkm changed the title Auto Binding for Request Params and Body Auto Parse/Binding for Request Params and Body Aug 19, 2017
jeevatkm added a commit to go-aah/valpar that referenced this issue Aug 20, 2017
@jeevatkm
Copy link
Member Author

jeevatkm commented Aug 20, 2017

Value Parser module is bringing flexible binding options.

Time format option is improved to bring multiple format support.

Removed: format.date and format.datetime config id removed from aah.conf

Added:

format {
  # Time format for auto parse and bind. aah try to parse the
  # time value in the order they defined till it gets success
  # otherwise returns the error.
  time = [
    "2006-01-02T15:04:05Z07:00",
    "2006-01-02T15:04:05Z",
    "2006-01-02 15:04:05",
    "2006-01-02"
  ]
}

jeevatkm added a commit to go-aah/tools that referenced this issue Aug 20, 2017
jeevatkm added a commit that referenced this issue Aug 21, 2017
jeevatkm added a commit that referenced this issue Aug 21, 2017
jeevatkm added a commit to go-aah/docs that referenced this issue Aug 21, 2017
@jeevatkm
Copy link
Member Author

Documentation is done :)

@jeevatkm jeevatkm moved this from v0.8 - In Progress to v0.8 - Completed in aah Roadmap Aug 21, 2017
jeevatkm added a commit that referenced this issue Aug 22, 2017
jeevatkm added a commit that referenced this issue Sep 1, 2017
@jeevatkm jeevatkm moved this from v0.8 - Completed to Released to Audience in aah Roadmap Sep 3, 2017
jeevatkm added a commit to go-aah/app-templates that referenced this issue Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
aah Roadmap
  
Released to Audience
Development

No branches or pull requests

1 participant