Support generated projects with dots in the namespace
See original GitHub issueHello Zaid, I’ve encountered some “strange” behaviour. When I define Snoflaqe.json file like this
"schema": "http://localhost:8085/graphql",
"queries": "./gql-queries",
"project": "Cookbook.GraphQL.Client",
"output": "./gql-output",
"overrideClientName": "ClientGraphqlClient"
}
then the namespaces in the generated project are created in quotes like this
namespace rec ``Cookbook.GraphQL.Client``
and project in this state throws compilation errors.
Is this “by design” or did I encountered some bug?
It can be solved by removing the dots from the project name but then I endup with project whose name doesn’t match the rest of the projects in sln.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
c# - A dot in project name interpreted as namespace delimiter
A dot in project name will be a namespace, I usually name my projects like that MyProject.Data.EntityFramewor, or MyProject.WPF. Don't use dots ......
Read more >Export as namespace should support dots #28142
Currently TS forces to pollute global scope like so: VendorNameSpace1.SDK and VendorNameSpace2.AnotherSDK . Or if only Vendor namespace is used ...
Read more >Formatting issues (dots replaced by underscores) in ...
When creating a new solution and say a project with name like SolutionName.ProjectName using one of the SPA templates, the generation of the ......
Read more >Display warning when creating namespaces with . (dots) ...
Display warning when creating namespaces with . (dots) for GitLab Pages · Release notes · Problem to solve · Intended users · User...
Read more >When I create a new project, the using System namespace ...
I just created a small calculator so I could hopefully answer your question about it working. Yes, when I run, it works without...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Works like a charm! Thanks again 👍
wow! 🥇 I will give it a try. Thank you