Replies: 1 comment 8 replies
-
Those are different purposes. You need per file if you want to add data per file. And obviously global for data that doesn't belong to a file. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, an optional
_parameters
field is allowed both on the root level and on eachdata_entry
level (i.e. per-file).Thus allowing both per-file and global parameters.
The flexibility is nice, but it might be confusing.
Are there any use cases in which parameters are necessary on a global level?
I could imagine that a complex format consisting of many different files could want to store information about what file contains what and how many files there are in total, beyond the capabilities of the
data_entry
key system.But this is a hypothetical scenario that kinda stretches the imagination.
Can anyone come up with anything more concrete, more to the point, for why global
_parameters
could be necessary?Alternatively, would it be better to keep it "just in case", or should we remove it?
Beta Was this translation helpful? Give feedback.
All reactions