-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
LocalFiles Type Images have no href #1280
Comments
Any word on this? I too am trying to simply link to or download a stored file of type localFile. How do I link to one? Concatenating the prefix and the filename in the object data give me a 404. |
This worked for me after some trial and error. It's not ideal but I haven't found a better way yet. The image will be stored at /data/files/ but is exposed via the /files/ route. |
Yeah concatenaning will work. Thanks. |
I can confirm this. href is always empty |
also exists does not work. There is no error but also no output. |
- removed href from path again - added virtual function href to nested schema
Fix for #1280 href working now on LocalFiles Type
Closing out stale issues which predate the Keystone 4 development cycle. It looks like a fix for this issue was previously merged in PR #1516. If this still affects Keystone 4, please create a new report with further details. Thanks, |
There is no .href property on .image property of LocalFiles Type. Given the example in: keystonejs/keystone#700 there should be a .href property for each image of LocalFiles Type with the correct routable address.
The text was updated successfully, but these errors were encountered: