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

[Feature Request]: Render returned documents from database #119

Open
Marouane-Belbouhali opened this issue Apr 6, 2021 · 5 comments · May be fixed by #163
Open

[Feature Request]: Render returned documents from database #119

Marouane-Belbouhali opened this issue Apr 6, 2021 · 5 comments · May be fixed by #163
Labels
T: question A question that does not match a bug or feature request

Comments

@Marouane-Belbouhali
Copy link

Problem to solve
I would like to easily render my document which is stored in database.

Proposed solution
I'm not sure what the best method would be.

Describe alternatives you've considered
Additional python library?

Additional context
N/A

@dgrelaud
Copy link
Member

dgrelaud commented May 9, 2021

Hello,

Is the template which is stored in a database? or the final result?

Rhanks

@dgrelaud dgrelaud added the T: question A question that does not match a bug or feature request label May 9, 2021
@Moekandu
Copy link

I believe I can help explain, since I am interested in the same feature. We also store our documents as "blobs" in a database.

Is it possible to pass a buffer to carbone.render, rather than loading the template from the file system?

@Marouane-Belbouhali
Copy link
Author

Marouane-Belbouhali commented Jun 8, 2021

Hello,

Is the template which is stored in a database? or the final result?

Rhanks

The template would be stored in Database, the final resul can easily be downloaded from the app.

@Marouane-Belbouhali
Copy link
Author

I believe I can help explain, since I am interested in the same feature. We also store our documents as "blobs" in a database.

Is it possible to pass a buffer to carbone.render, rather than loading the template from the file system?

I contacted Carbone Support and they told me it's impossible to pass a Buffer to CarboneJS.

@steevepay
Copy link
Member

Hello @marouane, it is not possible for now, we created the issue on our side and we will probably make it in the coming months. I will notify you when we work on it and a beta is available ;)

@stropho stropho linked a pull request May 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: question A question that does not match a bug or feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants