-
Notifications
You must be signed in to change notification settings - Fork 29
[bug] Datacore only retrieves the first value of repeated inline fields #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue an 8000 d 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
Comments
This is currently an intentional change to align datacore closer to how the Can you explain your use case for multiple inline fields with duplicate key names? |
I use this feature too, as it allows a fluent way to simply accumulate multiple valid values for a field. I use it for character work, for example, where referring to a character's name, nicknames, and so on, can all get accumulated under the "name" field. |
Hi again—and thanks for the follow‑up! I use the Periodic Notes plugin to generate a fresh daily note every morning. Throughout the day I jot down my diary entries in a completely free‑form way. Whenever something feels important—an experiment to try, a key issue, a quick metric—I capture it with an inline field Concrete English example(try:: cold shower) — surprisingly effective for waking up.
(try:: fixed morning route → study‑café)
Maybe buy a monthly pass so I *have* to go?
Breathing exercises to reset posture.
Walk 5 000 steps before lunch. What DataviewJS returns
That array lets me:
What Datacore returns now
Half the structured data is gone, so my existing dashboards break. Why tags can’t replace duplicate inline fields
Tags are perfect for broad categories ( |
Hello,
First of all, thank you for developing Datacore. I’ve been a heavy user of DataviewJS, and I was excited to discover the Datacore plugin—it’s a fantastic step forward. While testing various use cases, I found an issue related to how Datacore handles inline fields when multiple values are defined under the same key.
Consider the following example markdown:
Using DataviewJS, this returns both values as expected:
However, when using Datacore, only the first occurrence is returned:
It seems that Datacore is not capturing all values when the same inline field key appears multiple times in a file.
I hope this can be addressed soon—Datacore has great potential, and resolving this would make it even more powerful. Thank you for your hard work!
The text was updated successfully, but these errors were encountered: