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

Improve metadata types #10

Open
patricoferris opened this issue May 2, 2021 · 0 comments
Open

Improve metadata types #10

patricoferris opened this issue May 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@patricoferris
Copy link
Owner

Sesame should ship with some basic types to cover metadata descriptions. In particular, there should at least be an StaticImage.t and a Date.t. In the future it would be neat if Sesame could take a RemoteImage.t make a HTTP request, cache it and then treat it as any old image. Tbh this is more or less the same with any data-type that is ultimately at the moment an Fpath.t.

With these metadata types it makes it much easier for the user to write code for say an index page because they could actually do something like sort by date out of the box, rather than implementing it themselves.

@patricoferris patricoferris added the enhancement New feature or request label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant