Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Readme and delete bug#48

Merged
StephenCoady merged 5 commits into
masterfrom
readme-and-delete-bug
Jun 12, 2019
Merged

Readme and delete bug#48
StephenCoady merged 5 commits into
masterfrom
readme-and-delete-bug

Conversation

@StephenCoady
Copy link
Copy Markdown
Member

@StephenCoady StephenCoady commented Jun 12, 2019

Description

We need a readme for this project so I have added that.

Also there was a bug where a delete did not remove from the cache. If a server only returns the id of the object being deleted then we need to cater for that.

Interface improvements to decouple optimistic response from mutation helpers.

Checklist
  • npm test passes
  • npm run build works
  • tests are included
  • documentation is changed or added

@StephenCoady StephenCoady requested a review from wtrocki June 12, 2019 10:35
Comment thread packages/offix-cache/README.md Outdated
import { expect, should } from "chai";
import { CREATE_ITEM, GET_ITEMS } from "./mock/mutations";

describe("Optimistic Response tests", () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

?? :>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

because these tests are in the cache package now, not the client - I just forgot to move this file last time.

Co-Authored-By: Wojtek Trocki <wtrocki@redhat.com>
@StephenCoady StephenCoady merged commit abc057d into master Jun 12, 2019
@StephenCoady StephenCoady deleted the readme-and-delete-bug branch June 12, 2019 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants