Skip to content

Conversation

jeswr
Copy link
Collaborator

@jeswr jeswr commented Mar 23, 2023

These constructors take the id at face value so can be interpreted as the
wrong term type if an invalid value is given; for instance a NamedNode can
be interpred as a Literal if instantiated with new NamedNode('"hellow world"').

Consumers of the library should use the DataFactory instead to create new terms.

These constructors take the `id` at face value so can be interpreted as the
wrong term type if an invalid value is given; for instance a `NamedNode` can
be interpred as a `Literal` if instantiated with `new NamedNode('"hellow world"')`.

Consumers of the library should use the `DataFactory` instead to create new terms.
@jeswr jeswr changed the base branch from main to versions/2.0.0 March 27, 2023 04:58
@jeswr jeswr merged commit f4887f3 into versions/2.0.0 Mar 27, 2023
@jeswr jeswr deleted the breaking/make-class-terms-internal branch September 18, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant