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

[FEAT request-state-service] implements RFC 466 #6207

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

igorT
Copy link
Member

@igorT igorT commented Jun 28, 2019


class Person extends Model {
// TODO fix the typing for naked attrs
@attr('string', {})
Copy link
Contributor

Choose a reason for hiding this comment

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

ping @mike-north about fixing this, if it's not already fixed. This should be a 5 minute job

Copy link
Contributor

Choose a reason for hiding this comment

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

you can also just do @attr() name;

type: 'mutation',
state: 'fulfilled',
request: { data: [savingRequestOp] },
response: { data: undefined }
Copy link
Contributor

Choose a reason for hiding this comment

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

double check. might be

Suggested change
response: { data: undefined }
response: { }

packages/store/addon/-private/system/adapter-cache.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/fetch-manager.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/fetch-manager.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/record-identifier.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/request-cache.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/request-cache.ts Outdated Show resolved Hide resolved
@igorT igorT changed the title init request state service request state service Jun 28, 2019
@igorT igorT force-pushed the igor/request-state-service branch 2 times, most recently from 77725db to 9e6cca2 Compare July 22, 2019 12:54
Copy link
Contributor

@runspired runspired left a comment

Choose a reason for hiding this comment

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

Overall looks good, lots of small cleanup to do but am 👍 to merge once that is done.

packages/store/addon/-private/system/model/model.js Outdated Show resolved Hide resolved
packages/store/addon/-private/system/model/model.js Outdated Show resolved Hide resolved
packages/store/addon/-private/system/record-identifier.ts Outdated Show resolved Hide resolved
packages/store/addon/-private/system/store.ts Outdated Show resolved Hide resolved

class Person extends Model {
// TODO fix the typing for naked attrs
@attr('string', {})
Copy link
Contributor

Choose a reason for hiding this comment

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

you can also just do @attr() name;

@runspired runspired changed the title request state service [FEAT request-state-service] implements RFC 466 Jul 24, 2019
@igorT igorT force-pushed the igor/request-state-service branch 7 times, most recently from 7b3472c to b0628c4 Compare August 1, 2019 20:45
@igorT igorT force-pushed the igor/request-state-service branch from b0628c4 to 143e1b2 Compare August 1, 2019 20:47
@igorT igorT merged commit 3cd4550 into master Aug 1, 2019
@delete-merged-branch delete-merged-branch bot deleted the igor/request-state-service branch August 1, 2019 21:08
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.

3 participants