Skip to content

Conversation

@Gorzas
Copy link
Contributor

@Gorzas Gorzas commented Oct 5, 2020

No description provided.

@Gorzas Gorzas force-pushed the feature/379-update-blueprint branch 2 times, most recently from 5f14c3c to 49dd10d Compare November 6, 2020 09:05
},
"ember-addon": {
"configPath": "tests/dummy/config"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should add the edition in the package.json until we update the version of ember-cli (we're currently on ember-cli 3.3)

Copy link
Contributor

Choose a reason for hiding this comment

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

FYI I've started trying to upgrade ember-cli in #385

Copy link
Contributor

Choose a reason for hiding this comment

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

@Gorzas if you pull the latest changes from master you should be able to remove these changes now

Copy link
Contributor

@patocallaghan patocallaghan left a comment

Choose a reason for hiding this comment

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

Just some final touch ups and we should be good to go 💪


export default MF.Fragment.extend({
export default class <%= classifiedModuleName %> extends Fragment {
<%= attrs %>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we remove the space here because having it indented results in the first attr being indented too far?

Suggested change
<%= attrs %>
<%= attrs %>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@patocallaghan doing some tests with the generator, I've found that the result with attributes isn't valid. Look what happens when I type ember g fragment foo bar:string:

import { attr } from '@ember-data/model';
import Fragment from 'ember-data-model-fragments/fragment';

export default class Foo extends Fragment {
  bar: attr('string')
}

So I'm going to fix that too.

},
"ember-addon": {
"configPath": "tests/dummy/config"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

@Gorzas if you pull the latest changes from master you should be able to remove these changes now

@Gorzas Gorzas force-pushed the feature/379-update-blueprint branch from 49dd10d to 23326ff Compare November 11, 2020 10:36
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