byme8 / ZeroQL

C# GraphQL client with Linq-like syntax
MIT License
278 stars 13 forks source link

Generated client has different line endings. #12

Closed DaveRMaltby closed 2 years ago

DaveRMaltby commented 2 years ago

When opening the generated client file in Visual Studio, I see: image

If I take a look at the generated file in Notepad++, I see that the line endings change at the 10th line of the file: image

Looks like it can be fixed by changing the line endings on the string at https://github.com/byme8/ZeroQL/blob/main/src/ZeroQL.Core/Bootstrap/GraphQLGenerator.cs#L77-L86

DaveRMaltby commented 2 years ago

By the way, I'm happy to contribute a PR if you like.

byme8 commented 2 years ago

Checkout v2.1.1. I removed string concatenation and replaced it via syntax tree generation. Now, this warning should go away.

By the way, I'm happy to contribute a PR if you like.

Go ahead! You are welcome

DaveRMaltby commented 2 years ago

I will. Thank you sir!