Tags: arwhyte/caliper-php
Tags
Facilitate reference creation (#317) (#318) * Update VERSION to 1.1.0 * Facilitate reference creation While using caliper-php 1.1.0, I found some methods that return a value with an interface type (e.g., `Event->getActor()` returns `Agent`) haven't inherited the `makeReference()` method. Adding its signature to this interface should handle many if not all cases of this.
1EdTech/caliper-php#313 - Disable ISO 8601 validation (#316) * issue-313.interval_validation - partial resolution I couldn't find an ISO 8601 compliant replacement for PHP's buggy `DateInterval()` and I don't have time to implement one now. For now, commenting out this validation/type-checking code is the expedient solution. The issue should remain open until a complete solution is available. A basic solution would be to add an ISO 8601 validator modeled after Python's `aniso8601` package, as used by caliper-python.