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
{{ message }}
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
This is a request for a version of this method, but which also accepts presetNodes and nodesToBuild
public ModelObject(String modelString, boolean useRequiredOnly)
Similar to this method, but the String is the actual content of the schema, not the path to the schema. We would like to be able to pre-download the schema from schemaregistry, and update it that way instead of using a locally stored version in resource folder.
public ModelObject(String resourceLocation, JSONObject presetNodes, Set nodesToBuild,
boolean useRequiredOnly)
Another option is to make the resource constructor more generic, and have it look at the actual String to see if its schema content or a path, and load accordingly? Its a bit tricky since they're both Strings so open to ideas or workarounds.
The text was updated successfully, but these errors were encountered:
This is a request for a version of this method, but which also accepts presetNodes and nodesToBuild
public ModelObject(String modelString, boolean useRequiredOnly)
Similar to this method, but the String is the actual content of the schema, not the path to the schema. We would like to be able to pre-download the schema from schemaregistry, and update it that way instead of using a locally stored version in resource folder.
public ModelObject(String resourceLocation, JSONObject presetNodes, Set nodesToBuild,
boolean useRequiredOnly)
Another option is to make the resource constructor more generic, and have it look at the actual String to see if its schema content or a path, and load accordingly? Its a bit tricky since they're both Strings so open to ideas or workarounds.
The text was updated successfully, but these errors were encountered: