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

Use attributes for parsing parameters #72

Open
ArnaudBuchholz opened this issue Dec 4, 2015 · 2 comments
Open

Use attributes for parsing parameters #72

ArnaudBuchholz opened this issue Dec 4, 2015 · 2 comments
Assignees

Comments

@ArnaudBuchholz
Copy link
Owner

The idea is to have a class declaration that is bound to the parameters so that you get an instance with the current values.

As a result, the APIs would be simpler and the attributes re-usable.
We need two of them:
_gpfGetParameters => dictionary (from URL in browser, arguments in rhino / cscript / nodeJS)
parameters that are not prefixed should have a default name (TBD)

instance = gpf.readParameters(Class / string, [parameters]);

@ArnaudBuchholz ArnaudBuchholz added this to the Release 0.1.5: The next gen milestone Dec 4, 2015
@ArnaudBuchholz
Copy link
Owner Author

Moving to backlog

@ArnaudBuchholz ArnaudBuchholz modified the milestones: Backlog, Release 0.1.5: The new core Nov 10, 2016
@ArnaudBuchholz ArnaudBuchholz modified the milestone: Backlog Feb 26, 2017
@ArnaudBuchholz ArnaudBuchholz self-assigned this Sep 25, 2017
@ArnaudBuchholz
Copy link
Owner Author

This could be implemented using Serialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant