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

[Feature request] Aliases for the result methods #122

Closed
danielo515 opened this issue Nov 6, 2023 · 0 comments · Fixed by #159 · May be fixed by #303
Closed

[Feature request] Aliases for the result methods #122

danielo515 opened this issue Nov 6, 2023 · 0 comments · Fixed by #159 · May be fixed by #303
Assignees
Labels
API enhancement New feature or request

Comments

@danielo515
Copy link
Owner

Is your feature request related to a problem? Please describe.
I love descriptive names, that's why all the methods on result class are very specific. However, sometimes they are hard to type or remember. Adding some aliases will be nice to improve the UX.

Proposals:

  • frontmatter => asFrontmatterString
  • dataview => asDataview

Additional context

@danielo515 danielo515 added the enhancement New feature or request label Nov 6, 2023
@danielo515 danielo515 self-assigned this Nov 6, 2023
@danielo515 danielo515 added the API label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment