Skip to content

UNOMI-646 : update documentation#494

Merged
jsinovassin merged 2 commits intomasterfrom
UNOMI-646-update-documentation
Sep 8, 2022
Merged

UNOMI-646 : update documentation#494
jsinovassin merged 2 commits intomasterfrom
UNOMI-646-update-documentation

Conversation

@jsinovassin
Copy link
Contributor

@jsinovassin jsinovassin marked this pull request as ready for review September 6, 2022 16:02

For example, the following event model in Apache Unomi 1.x:
The properties field in the events objects provided by unomi are now restricted by JSON schema.
It's not possible to add value in this property without adding the JSON schema which allows to add the properties.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...now restricted by JSON schema. This means object properties must be declared in a JSON schema for an event to be accapted.

Instead of It's not possible[...]add the properties.

The properties field in the events objects provided by unomi are now restricted by JSON schema.
It's not possible to add value in this property without adding the JSON schema which allows to add the properties.

If there is dynamic properties that you want to add to the event, you should use the new property of the event named flattenedProperties.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should rephrase a bit this paragraph to introduce flattenedProperties before instructing to use it.

A new property, flattenedProperties has been introduced to... this property is ...

@jsinovassin jsinovassin merged commit ab7d2c0 into master Sep 8, 2022
@jsinovassin jsinovassin deleted the UNOMI-646-update-documentation branch September 8, 2022 15:23
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.

2 participants