Skip to content

Don't call MetadataGenerator on error fields #107

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

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

BoD
Copy link
Collaborator

@BoD BoD commented Mar 14, 2025

Fix for #106.

@BoD BoD requested a review from martinbonnin as a code owner March 14, 2025 10:44
@BoD BoD merged commit f1713e1 into main Mar 14, 2025
2 checks passed
@BoD BoD deleted the fix-metadata-generator-error-fields branch March 14, 2025 12:52
BoD added a commit that referenced this pull request Mar 25, 2025
BoD added a commit that referenced this pull request Mar 28, 2025
* Hashed CacheKeys (WIP)

* Use CacheKey in more places

* Avoid using .hashed()

* New 'fields' db format. Also, remove EVICT_AFTER_READ.

* Add support for trim

* Rename 'key' -> 'record'

* Minor ApolloJsonElementSerializer optimizations

* Do not call propagateErrors if there are no errors

* Minor optimization in toRecords()

* Use ByteString in CacheKey and blob in SQL.

* Revert 1 field per row, and hashes

* Renames for consistency

* Add ApolloStore.trim()

* Increase SQLite's memory cache to 8 MiB

* Report #107

* Revert removal of assertChainedCachesAreEqual

* Fix cacheDumpProvider to include errors

* Minor tweak/rename

* Remove debug

* Revert removed test

* Revert tweaked values

* Update CHANGELOG.md

* Encode certain known metadata keys as single byte strings to save space

* Make CacheKey extensions internal, and add test-utils

* Make CacheKey.keyToString() internal

* Add a comment about using string lengths

* Remove CacheKey.serialize() and co.

* Optim: avoid some iterations while avoiding some iterations

* RecordSerializer: encode ints smaller than 255-32 as one byte
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