Skip to content

Update documentation on shoebox.#762

Merged
kratiahuja merged 2 commits intoember-fastboot:masterfrom
erichaus:master
May 6, 2020
Merged

Update documentation on shoebox.#762
kratiahuja merged 2 commits intoember-fastboot:masterfrom
erichaus:master

Conversation

@erichaus
Copy link
Contributor

@erichaus erichaus commented May 5, 2020

changes:

  • Update README to add description of alternative solution for fastboot's shoebox behavior using the Application Adapter.

#761

Copy link
Member

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

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

Left a few small suggestions, but otherwise seems good to me!

README.md Outdated
Comment on lines +449 to +450
// must deep-copy for clean serialization.
return JSON.parse(JSON.stringify(result));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// must deep-copy for clean serialization.
return JSON.parse(JSON.stringify(result));
// must deep-copy for clean serialization.
return JSON.parse(JSON.stringify(result));

Comment on lines +420 to +421
the Application Adapter as shown below.
```
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
the Application Adapter as shown below.
```
the Application Adapter as shown below.
```js

README.md Outdated
the Application Adapter as shown below.
```
export default class ApplicationAdapter extends JSONAPIAdapter.extend(
...
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
...
// ...snip...

@erichaus
Copy link
Contributor Author

erichaus commented May 6, 2020

@rwjblue updated per feedback

@kratiahuja
Copy link
Contributor

LGTM! Thanks for doing this.

@rwjblue does this look good to you?

@kratiahuja kratiahuja merged commit 67f07ae into ember-fastboot:master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants