You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Suppliers.memoize to construct a Schema to validate a file against any iidm version
Describe the expected behavior
We use Suppliers.memoize with a map to construct a Schema to validate a file against a specific iidm version.
Describe the motivation
In the unit tests we know against which version the file should be validated, so there's no need to load all the schema for validating against a specific version.
A user might also need to check the file he's using is validating a specific version xsd.
With such a map we also reduce the memory cost of Suppliers.memoize, as only the validated versions would be loaded.
Extra Information
No response
The text was updated successfully, but these errors were encountered:
Describe the current behavior
We use Suppliers.memoize to construct a Schema to validate a file against any iidm version
Describe the expected behavior
We use Suppliers.memoize with a map to construct a Schema to validate a file against a specific iidm version.
Describe the motivation
In the unit tests we know against which version the file should be validated, so there's no need to load all the schema for validating against a specific version.
A user might also need to check the file he's using is validating a specific version xsd.
With such a map we also reduce the memory cost of Suppliers.memoize, as only the validated versions would be loaded.
Extra Information
No response
The text was updated successfully, but these errors were encountered: