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

Fix load_all of null documents #231

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

GunnarFarneback
Copy link
Contributor

@GunnarFarneback GunnarFarneback commented Jun 24, 2024

Fixes #226 by internally representing non-documents (e.g. whitespace and comments only) by missing. (This could have used a strictly internal singleton struct , but missing seemed reasonably fitting for the purpose.).

@Paalon
Copy link
Contributor

Paalon commented Jun 25, 2024

I think there are people who would like to use YAML's null as missing in Julia, so I'm worry if this PR is compatible with that.

@GunnarFarneback
Copy link
Contributor Author

You mean with a custom constructor? Fair enough, let's go with an internal singleton object instead.

@GunnarFarneback GunnarFarneback force-pushed the loading_null_documents branch from 3dbaac1 to a9e8309 Compare June 25, 2024 07:33
@Paalon
Copy link
Contributor

Paalon commented Jun 25, 2024

Yes, I have concerned about an unimplemented custom constructor which can use missing.

@kescobo
Copy link
Collaborator

kescobo commented Jun 25, 2024

Can we resolve conflicts here/

@GunnarFarneback GunnarFarneback force-pushed the loading_null_documents branch from a9e8309 to 677a340 Compare June 25, 2024 15:14
@GunnarFarneback
Copy link
Contributor Author

Done.

@kescobo kescobo merged commit 37e287e into JuliaData:master Jun 25, 2024
20 checks passed
@GunnarFarneback GunnarFarneback deleted the loading_null_documents branch June 25, 2024 15:20
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.

load_all stops on a null document
3 participants