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

Add extra parameter for loader source titles, return it with the result #67

Open
dr460nf1r3 opened this issue May 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dr460nf1r3
Copy link

Hey!

The request is about the following issue:

Currently, the Promise returned with .query consists of the result itself and the sources.
The sources itself represents the raw source string rather than a friendly name, making it rather messy when attempting to display them in a user interface in a readable manner. Especially for the text and file-based loaders (which get provided as base64 string in my case), the whole input / data URL is returned.

To solve this issue, I'd like to request the addition of a new parameter (possibly optional) that can be used during the addition of a new loader as well as being returned with the query itself.

Thanks a lot :)

@dr460nf1r3 dr460nf1r3 changed the title Add extra parameter for source titles, return it with the result Add extra parameter for loader source titles, return it with the result May 29, 2024
@adhityan adhityan added the enhancement New feature or request label May 29, 2024
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

2 participants