-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Improve serialization #29
Labels
enhancement
New feature or request
Comments
would |
I'm not sure what you mean. Do you mean the use of |
sdorra
added a commit
that referenced
this issue
Jun 1, 2024
Bundle all json serialization related code into its own module
sdorra
added a commit
that referenced
this issue
Jun 1, 2024
sdorra
added a commit
that referenced
this issue
Jun 1, 2024
sdorra
added a commit
that referenced
this issue
Jun 1, 2024
sdorra
added a commit
that referenced
this issue
Jun 1, 2024
Merged
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
Bundle all json serialization related code into its own module
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
Bundle all json serialization related code into its own module
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
sdorra
added a commit
that referenced
this issue
Jun 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the time of writing, content-collections serialize the generated documents as JSON. The problem with this approach is that JSON has a limited set of data types (string, number, boolean, null, object, or array), and this is why the generated documents have only those data types as well (#21).
It would be nice if data types such as
Date
could be used as part of the document as well. We could possibly achieve this by using a library such as serialize-javascript instead ofJSON.stringify
.The text was updated successfully, but these errors were encountered: