Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make ObjectType::new() optional too #416
We either require new() or new_with_type() to be implemented. Making it
This has the negative side-effect that there's no compiler warning if neither is implemented... but users will notice very fast because their code just does not work at all due to the
Compared to ugly code like this I really prefer that.