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

Update prettier to 1.15.2 #128

Merged
merged 2 commits into from Nov 30, 2018
Merged

Update prettier to 1.15.2 #128

merged 2 commits into from Nov 30, 2018

Conversation

andyrichardson
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 90.878% when pulling d522d54 on maintenance/update-prettier into 67d80e4 on v1.

@andyrichardson
Copy link
Contributor Author

See #126

@andyrichardson andyrichardson merged commit 427e0c0 into v1 Nov 30, 2018
@andyrichardson andyrichardson deleted the maintenance/update-prettier branch December 2, 2018 17:24
kitten added a commit that referenced this pull request Feb 5, 2020
* Replace Object.create(null) with makeDict() helper

* Define new data structure

- records and links will be separated by (entity) node
- records and links will still have optimistic layers with partial entries
- every entity (by key) will have a reference count (RC)
- ref locks are entities with 0 ref count that are still kept for optimistic entries

Adding a link will increase the ref count (RC) by one.

When a link is modified we diff its entity keys with the previous link entry.
All deleted entity keys have their ref count (RC) decreased. If the RC
is zero we check whether it is referenced in an optimistic layer. If so the
entity key is put onto the ref lock stack by the optimistic key.

When that optimistic layer is removed we check all entity keys on the
ref lock stack. If a key on there still has an RC of zero it is deleted.

* Implement new InMemoryData structure

* Add recursive RC updates to flushGCBatch

* Integrate new InMemoryData into Store

* Disable extras tests

* Add currentStore to store.ts global state

* Fix tests for clearStoreState changes

* Fix hasField usage in operations/shared

* Temporarily remove extras build

* Add missing record reset in writeLink on write

* Add inspectFields helper to inspect fields

* Migrate store methods for new data structure

* Update relayPagination to new store methods

* Update simplePagination to new store methods

* Fix up invalidateQuery

* Revert rollup.config.js

* Fix variable naming in keys.ts

* Fix incorrect GC batch being updated

* Add tests for new data structure

* Add comments for new data structure

* Add missing entityKey removal to GC on RC > 0

* Prevent duplicate scheduled GC runs
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.

None yet

2 participants