-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace Marshal with TOML in snapshots format #503
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
But this made unparsable error for 10000+ years May relate to toml-lang/toml#538 (comment)
kachick
force-pushed
the
readable-snapshot
branch
from
March 10, 2024 03:46
ca5a1f8
to
7d0d922
Compare
``` Failed to parse input on line 24007 at offset 24 (TomlRB::ParseError) to_time = 10889-07-21T15:54:33Z ```
🤷♂️ https://github.com/toml-lang/toml/blob/2431aa308a7bc97eeb50673748606e23a6e0f201/toml.abnf#L180
Using TOML as serializer for ULID and UUIDv7 timestamp will not fit...? 🤔 uuid6/uuid6-ietf-draft#23 |
💭 ULID longa, vita brevis |
biTmp = BigInt(yearStr);
if(isNegative)
biTmp = -biTmp;
if(biTmp < int.min || biTmp > int.max)
error(tokenStart, "Date's year is out of range. (Must fit within a 32-bit signed int.)");
auto year = biTmp.toInt(); 👁️ |
kachick
changed the title
Add script for converting dump to json
Prefer readable serialization format rather than marshal in snapshot
Mar 20, 2024
…uture" This reverts commit e24a8ca.
kachick
changed the title
Prefer readable serialization format rather than marshal in snapshot
Prefer human readable serialization format rather than marshal in snapshot
Mar 20, 2024
kachick
force-pushed
the
readable-snapshot
branch
from
March 20, 2024 06:18
59fbfc7
to
afcaafc
Compare
kachick
changed the title
Prefer human readable serialization format rather than marshal in snapshot
Replace Marshal with TOML in snapshot formats
Mar 20, 2024
kachick
changed the title
Replace Marshal with TOML in snapshot formats
Replace Marshal with TOML in snapshots format
Mar 20, 2024
kachick
added a commit
that referenced
this pull request
Mar 20, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #501