-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RUMF-783] Add view.custom_timings #25
Conversation
"additionalProperties": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"readOnly": true | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we've been already discussing this and we decided to not go with additionalProperties
the same way as we don't use them to model custom context attributes, no? // cc @xgouchet @bcaudan
Anyway, I think we can deal with this both in Kotlin and Swift by expressing it as [String: UInt64]
dictionaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well we didn't add this because I didn't know we could constrain the additional properties (i only saw example of "additionalProperties": true
).
My guess is that this should actually fix what we wanted and we can make the changes necessary on our side to handle it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, agree - we can incorporate it into our code generators 👍.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC previous discussions was more about having additionalProperties: false
at every level to constrain our model rather than having additionalProperties: true
for some specific parent (like context).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
No description provided.