We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an object which is nested:
Record: String email; Person person; Person: String FirstName;
the email gets generated but the FirstName inside the Person remains Null.
any help i can get with that please.
The text was updated successfully, but these errors were encountered:
i just need to pass the object or the type as (where "OBJECT"):
Add(new Map() .Matching(info => { DataTypeAttribute hydratorType = info.GetCustomAttributes(typeof(DataTypeAttribute), false).Cast().FirstOrDefault(); return hydratorType != null && hydratorType.Kind == "Child"; }) .Using(new ChildGenerator(OBJECT)));
Sorry, something went wrong.
Does this work?
var hydrator = new Hydrator() .With(x => x.Person, new TypeGenerator()); var _record = hydrator.GetSingle();
shouldn't this be made "automagically"? some classes have lots of children and grandchildren
No branches or pull requests
I have an object which is nested:
the email gets generated but the FirstName inside the Person remains Null.
any help i can get with that please.
The text was updated successfully, but these errors were encountered: