Comments (2)
For me it reports compilation error in Rider IDE on MacOS. What is expected behavior:
Everything inside the query lambda is converted to the raw GraphQL query at compilation time. As a result, only selected set of the C# features is supported. The ternary operator is not supported and in my case the analyzer reports the error.
In your case, it doesn't report the error for some reason. That's weird. I will check VS v17.8.0 latter today.
from zeroql.
Ok, Thanks for your quick support, you're right. Problem was caused by ternary operator in Published section. It was my first thought, cause I've seen similar error elsewhere during the testing. But my Visual studio is behaving completely weird since last update, so after several attemps (trial-error) I've become convinced it caused by Blocks = pg.Blocks(....) part.
Anyway thank you for your efforts and sorry for bugging you about it.
from zeroql.
Related Issues (20)
- Tool does not replace type names propertly HOT 2
- Parameter name casing incorrect HOT 6
- Msbuild issue in 6.1.0 preview.2 HOT 2
- Select all the properties at once HOT 1
- Unable to set alias, so mutation fails if same mutation operation is used multiple times HOT 2
- Query example for queries with pagination HOT 6
- Customize naming HOT 1
- Suffix 'ZeroQL' added to a single type's name on build, results in error CS0246 HOT 7
- Improve feedback when a status other than OK is returned when querying graph HOT 2
- ZeroQL.CLI not found when building on GitHub Actions HOT 3
- Assigning To Class/Record Fails to Query Properties HOT 2
- Cannot Populate Object with Static Values or Linq Code HOT 1
- Problem building against WPGrapQL HOT 11
- Selector lambda as an expression for more efficient transfer to/from the server HOT 3
- Mutation inputs are generated as optional despite being non-nullable in schema when using "Request" syntax
- Expose the "Query" and "Mutation" extension methods on the IGraphqlClient iterface rather than the concrete type HOT 3
- Shorthand for returning a fully hydrated model HOT 2
- ZeroQL CLI not working from Azure Devops pipelines HOT 2
- Can not map enums when using GraphQLFragment, no errors when building query HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zeroql.