Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Support configurable data input formats? #104

Open
davidreuss opened this issue Sep 8, 2021 · 1 comment
Open

Support configurable data input formats? #104

davidreuss opened this issue Sep 8, 2021 · 1 comment

Comments

@davidreuss
Copy link

Lovely project.

It shares a great deal of commonality between a few projects i’ve been tinkering with and one i wrote myself which i’d be happy to replace if cueblox solves my usecase.

Would it make sense for cueblox to support cue for input data files as well? or similar formats such as json, or other random data formats?

is the filetype / marshaling inferred from extension only or is the “processing” configurable somehow, outside of writing a plugin.

Thanks in advance.

Looking forward to seeing in which direction this project will grow.

@bketelsen
Copy link
Contributor

the loading code is in the content package in repository.go (line 160 is a good place to start looking). Today it only looks at yaml encoded data - either directly or through a markdown decoder.

Adding other text based formats wouldn't be too hard, especially JSON. Cue might be a little harder to get right but should be possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants