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

string.ToInterpolatedString() in v9 #37

Open
andywilsonuk opened this issue Mar 10, 2024 · 1 comment
Open

string.ToInterpolatedString() in v9 #37

andywilsonuk opened this issue Mar 10, 2024 · 1 comment

Comments

@andywilsonuk
Copy link
Owner

Hi @TonyValenti, regarding string.ToInterpolatedString(), I'm removing this in v9 because 1) string it very overloaded already and 2) creating the InterpolatedString ahead of time is a pretty advanced feature which is better served by using the InterpolatedStringResolver.

I see the Resolver as the preferred way to interact with the library now as it is settings aware and all the methods are provided with the settings in context. In contrast, using the string extensions either means using the global settings or passing in the settings objects for every expansion.

Version 9 is out today.

@andywilsonuk
Copy link
Owner Author

Oh, love the snazzy icon!

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