It would be nice to promote meta to first class citizen of vulpea-note, meaning that it needs to be persisted, it must be part of vulpea-note and the library should provide means to search/filter by meta.
This is primarily needed for performance of search and access, making meta more practical. Examples of usage:
You want to find all notes that have meta with 'producer' set to some note. Without this feature you have to open ALL notes, parse the file and filter. Opening file and parsing takes lots of time.
You wish to show some information about one or more notes. For example, title (already persisted) and some value from meta (not yet persisted). Without this feature you need to (again) open files and parse the data to present what you want.
It would be nice to promote meta to first class citizen of
vulpea-note
, meaning that it needs to be persisted, it must be part ofvulpea-note
and the library should provide means to search/filter by meta.This is primarily needed for performance of search and access, making meta more practical. Examples of usage:
Kind of follow up of https://github.com/d12frosted/vulpea/discussions/96#discussioncomment-987611
CC @hyan46