Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix saving of TTL and string array fields generated by Open API #7094

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Jul 9, 2019

This was already fixed in master and the 1.2 betas, so this back ports the fix for 1.1.4.

Fixes #6901

@meirish meirish requested a review from madalynrose July 9, 2019 15:00
Copy link
Contributor

@madalynrose madalynrose left a comment

Choose a reason for hiding this comment

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

looks great! one question but looks good to go!

@@ -62,6 +62,7 @@ export default Component.extend({
*
*/
inputList: computed(function() {
/* eslint-disable ember/no-side-effects */
Copy link
Contributor

Choose a reason for hiding this comment

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

what side effect are we allowing here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here's the rule: https://github.com/ember-cli/eslint-plugin-ember/blob/master/docs/rules/no-side-effects.md And looking at this now, I think we should change this to happen on init, but since this is a backport I didn't want to do it here. I'll make a follow up PR!

Copy link
Contributor

Choose a reason for hiding this comment

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

But why do we need it?

Copy link
Contributor Author

@meirish meirish Jul 15, 2019

Choose a reason for hiding this comment

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

Linting was failing on this - looks like the ignore was added at some point in master after 1.1.3.

@meirish meirish added this to the 1.1.4 milestone Jul 22, 2019
@meirish meirish merged commit 1213efc into 1.1.4 Jul 22, 2019
@meirish meirish deleted the ui-fix-ttl-from-openapi branch July 22, 2019 14:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants