Align behavior of JEntityTypeName with JEntityId. Previously, the FFI code had a difference in behavior between JEntityTypeName and JEntityId. The old code did not allow construction of an invalid id, but it did allow construction of an invalid JEntityTypeName. I changed it so it fails at construction time if it's invalid.
Also implemented the same pattern for JEntityUID, and gave it a method get_rust_repr.
New schema parse functionality
New policy parse functionality
New functionality to validate a template link - takes in a template and two EntityUIDs.
Issue #, if available:
n/a
Description of changes:
JEntityTypeName
andJEntityId
. The old code did not allow construction of an invalid id, but it did allow construction of an invalidJEntityTypeName
. I changed it so it fails at construction time if it's invalid.get_rust_repr
.