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

Support to YAML objects #810

Open
hyungtaecf opened this issue Mar 13, 2024 · 2 comments
Open

Support to YAML objects #810

hyungtaecf opened this issue Mar 13, 2024 · 2 comments
Labels
kind/feature New feature request lifecycle/backlog Issues that are ready to be worked on.

Comments

@hyungtaecf
Copy link

hyungtaecf commented Mar 13, 2024

What would you like to be added?

Support to target nested fields.

cartParams:
  - title: Leg type 
    options:
      - Round
      - Square

Allowing properties like cartParams.title to show in the result.

Why is this needed?

This enhancement would enable users to organize their frontmatter in a more structured manner, especially in cases where a vault serves multiple purposes and involves a significant amount of frontmatter. Utilizing object-like structures for properties, such as the example provided, offers a cleaner approach to managing data, prevents cluttering of property lists, and facilitates the separation of different types of notes that share the same property name. Additionally, this enhancement aligns well with plugins like Dataview, allowing for more versatile and powerful usage scenarios.

@hyungtaecf hyungtaecf added kind/feature New feature request needs-triage Issue needs a triage/* label labels Mar 13, 2024
@Acylation Acylation added lifecycle/backlog Issues that are ready to be worked on. and removed needs-triage Issue needs a triage/* label labels Apr 16, 2024
@Acylation
Copy link
Collaborator

Yes the structured object is a common case. However, regarding this is not yet supported by Obsidian Properties, I would wait for an upstream solution, or at least put this aside for a certain term. See https://forum.obsidian.md/t/properties-support-multi-level-yaml-nested-attributes/63826

@bean5
Copy link

bean5 commented Aug 20, 2024

@hyungtaecf I agree with @Acylation that waiting for upstream support would make this easier. Right now Obsidian itself stores the metadata of properties (type) separately from values AND I haven't seen needed fields work in Obsidian. In fact it breaks.

If this project was to adopt support for nested fields it would have to use a work around such as markdown comments. In the end, the data would be inaccessible by Obsidian itself as a property.

I suggest opening a request with Obsidian team. See https://help.obsidian.md/Help+and+support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature request lifecycle/backlog Issues that are ready to be worked on.
Projects
None yet
Development

No branches or pull requests

3 participants