davorg-cpan / moox-role-json_ld

Moo role to easily add JSON-LD generation into a class
1 stars 5 forks source link

Ignore nulls and run json_ld_data methods #8

Closed robrwo closed 6 years ago

robrwo commented 6 years ago

Use Ref::Util for resolving reference types. This will provide a significant performance improvement.

Only set values if they are defined.

If a value is an object with a json_ld_data method, then run that method.

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 44


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/MooX/Role/JSON_LD.pm 10 12 83.33%
<!-- Total: 10 12 83.33% -->
Totals Coverage Status
Change from base Build 43: 0.4%
Covered Lines: 55
Relevant Lines: 59

💛 - Coveralls