Skip to content
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

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Conversation

webNeat
Copy link
Contributor

@webNeat webNeat commented Jan 8, 2021

No description provided.

@webNeat webNeat requested review from a team as code owners January 8, 2021 11:06
Comment on lines +105 to +109
"additionalProperties": {
"type": "integer",
"minimum": 0,
"readOnly": true
},
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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 👍.

Copy link
Contributor

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).

Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

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

🚀

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.

4 participants