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

IncludeAsync but truncate if too long. #532

Open
sybaris opened this issue Aug 31, 2023 · 0 comments
Open

IncludeAsync but truncate if too long. #532

sybaris opened this issue Aug 31, 2023 · 0 comments

Comments

@sybaris
Copy link

sybaris commented Aug 31, 2023

Is your feature request related to a problem? Please describe.
I use RazorLight generated reports sent by teams. My problem is I am limited in size.

Describe the solution you'd like
My template loops and call IncludeAsync on several pages. I would like to check the returned size and if it's too big, I want to replace the text by : "Message truncated (toobig). Check the file xxx to have the complete message".
Is there is an alternative to call IncludeAsync but to check before the returned size ?

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

No branches or pull requests

1 participant