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

gpf.serial.fromRaw #289

Closed
2 tasks done
ArnaudBuchholz opened this issue Sep 18, 2018 · 2 comments
Closed
2 tasks done

gpf.serial.fromRaw #289

ArnaudBuchholz opened this issue Sep 18, 2018 · 2 comments
Assignees

Comments

@ArnaudBuchholz
Copy link
Owner

ArnaudBuchholz commented Sep 18, 2018

Part of #271

As a developer, I want to create a function that initializes an instance of a given class with a raw record containing only serializable attributes of this class

Acceptance criterias:

  • the api name is gpf.serial.fromRaw, it takes an instance of a class with Serializable attributes (it fails if not an object) and a dictionary composed of the Serializable attributes' value. It will se the instance properties based on the dictionary's own properties
  • If the dictionary does not have a property, the instance member is not modified
@ArnaudBuchholz
Copy link
Owner Author

Not sure how to handle required properties !

@ArnaudBuchholz
Copy link
Owner Author

API has changed

@ArnaudBuchholz ArnaudBuchholz changed the title gpf.serial.buildFromRaw gpf.serial.fromRaw Sep 27, 2018
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