Comments (7)
Maybe somehow you can detect whether its a matrix of values and add the numbers if not don't add the number? I think I was just lazy and started at +1 etc to fix that issue.
from orval.
Soon.. I will close this for now I marked it for 6.28.0
from orval.
Turns out i can't read git history.. it's already out in 6.28.2.
Just wanted to say thanks for this project, its great! Got my team out of apollo/graphql hell and back to shipping features, thanks to you and all the maintainers
from orval.
@Georgegriff that was introduced because of this issue: #1027
A PR to fix both your current scenario but not break #1027 would be great!
from orval.
I'll see what I can do, it might be tricky to fix without a breaking change if it results it people's exported Zod variables being renamed 🤔 an option wouldn't feel right. I'll explore it anyway and see what's possible
from orval.
So i just did some digging, cloned the repo and was about to start then realised @anymaniax fixed my exact issue in #1330 🥳
I confirmed it by running the yarn run generate:zod
and comparing the version i'm using:
When do you expect this might be released?
I note that @anymaniax mentioned this is a breaking change, i do tend to agree... however the original fix that introduced the unstable variable names was introduced in a 6.x minor version too and that too technical broke variable names, so maybe it doesn't matter.
from orval.
Nice!
from orval.
Related Issues (20)
- form-data array submission support HOT 6
- how to use react query with fetch API instead of axios HOT 3
- Referencing combined enums results in a duplicate schema name error HOT 4
- React Query: Add support to `useQueries`
- update package.json version when a client is generated
- [Feature] Allow to customize data type for dates
- Array with no items key casues error (OpenAPI 3.1)
- Orval does not generate abort signal as third parameter in post request.
- [Feature] Generate strings from description fields
- React Query keys no longer exported? HOT 3
- Setting delay to false generates invalid function
- Polymorphic mocks are not split when subclass is allOf instead of type: object
- Transformer function not outputting the desired type name HOT 4
- 'vue-query' generated query key getter code is inaccurate
- [Regression in 0.30] Using useQuery: true for POST request generates code that does not compile HOT 2
- Duplicate mock and MSW handler for status 200 when using generateEachHttpStatus=true HOT 1
- Schema compilation fails when using bun as package manager HOT 6
- Missing import for enum with MSW mock generation
- Can not create examples with ref for mock HOT 1
- A better way to manage dynamic API url for Angular HTTP Client
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 orval.