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

Fluid.Tags compatibility method after upgrading to a new version #583

Open
wangsidong177 opened this issue Aug 8, 2023 · 1 comment
Open

Comments

@wangsidong177
Copy link

Hi Team,

I used Fluid.Tags earlier and currently upgraded to. Net6.
I need to upgrade Fluid as well. I am currently using the latest version 2.4.0.
But after the update, I found that Fluid.Tags is no longer available for use.
Is there any way to be compatible with the Fluid.Tags method I used before?

Here is my previous code:

public class TokenTag : SimpleTag { public override async ValueTask<Completion> WriteToAsync(TextWriter writer, TextEncoder encoder, TemplateContext context) { ... return Completion.Normal; } }

@sebastienros
Copy link
Owner

The documentation in the README explains how to create custom tags, have you checked it?

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

2 participants