Skip to content

Commit 44a0164

Browse files
authored
Doc update to explain the request presented via Java Issue #351 (#3005)
1 parent 606c3b8 commit 44a0164

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/connections/spec/group.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,7 @@ The following are the reserved traits we have standardized:
170170

171171
**Note:** You might be used to some destinations recognizing special properties differently. For example, Mixpanel has a special `track_charges` method for accepting revenue. Luckily, you don't have to worry about those inconsistencies. Just pass us `revenue`. **We'll handle all of the destination-specific conversions for you automatically.** Same goes for the rest of the reserved properties.
172172

173+
If you pass these values, `on null` will throw a `NullPointerException`.
174+
You may continue to set values inside the trait. If you do so, this would work the same as the rules do with NoSQL data. If you had set a value previously for a user and on the next request you sent the same value of that property as `on null`, it will be replaced by `null`, but if you do not send that property, the original value is persisted.
175+
173176
**Traits are case-insensitive**, so in Javascript you can match the rest of your camel-case code by sending `createdAt`, and in Ruby you can match your snake-case code by sending `created_at`. That way the API never seems alien to your code base.

0 commit comments

Comments
 (0)