code-generation Questions

2

Solved

I would like the OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator) to be able to generate Pageable parameter in API according to the implementation in Spring Boot Data. I've bee...
Stonwin asked 19/4, 2020 at 16:1

2

Solved

In my app, I use freezed with json_serializable. In the folder, where I put all my data models a lot of generated files, like model.g.dart, model.freeezed.dart. Is there any possibility to move all...
Hedgehop asked 30/6, 2021 at 7:17

2

My problem is a little bit complicated, I'll try to explain it clearly. To do it, I've done a simple project. I'm using Swagger codegen to generate Java classes from swagger file. In the swagger...
Ceiba asked 16/12, 2017 at 22:16

3

I am using the jest-playwright library (https://github.com/playwright-community/jest-playwright) to perform end-to-end testing. In the jest.config.js file you can set an option to ignore SSL errors...
Bummer asked 11/4, 2021 at 17:55

5

Solved

I am using the @graphql-codegen/cli tool to generate typescript types out of my graphql server. Here is my codegen.yml content: overwrite: true schema: "http://localhost:3001/graphql" documents: "...
Waylonwayman asked 17/11, 2019 at 19:33

24

Solved

We are writing a new application, and while testing, we will need a bunch of dummy data. I've added that data by using MS Access to dump excel files into the relevant tables. Every so often, we wa...
Margo asked 11/6, 2009 at 17:42

8

Solved

I'm trying to build a Source Generator. Right now, just the most basic static method that returns "Hello World". The generator project builds, but the generated code is not available, the...
Medici asked 28/12, 2020 at 15:21

2

Solved

I know the compiler can't convert an async lambda expression to an expression tree, but is it possible to generate the expression tree manually ? var expr = Expression.Lambda<Func<Task>&g...
Hebraism asked 16/6, 2014 at 9:40

6

I'm searching for a framework to create apps for both Android and iOS from one codebase. I'm aware of Appcelarator and PhoneGap etc. However I need a different kind of product. I'm not sure if it e...
Korn asked 4/11, 2011 at 9:36

1

We are generating code dynamically to produce a .NET Core console application and then compiling it using: var csharpParseOptions = new CSharpParseOptions(LanguageVersion.Latest); csharpParseOpt...
Phenocryst asked 11/8, 2022 at 17:2

1

I have a ContentView called HomePageOrientationViewLoader that I want to use in a ContentPage called HomePage. HomePageOrientationViewLoader will either load a ContentView called HomePageLandscape ...
Cinquefoil asked 1/1, 2023 at 1:38

4

Solved

Currently I have some code that is being generated dynamically. In other words, a C# .cs file is created dynamically by the program, and the intention is to include this C# file in another project....
Nasya asked 2/3, 2009 at 23:30

5

Solved

I'm making a Spring project, where i'm using QueryDsl for the entities. I'm picking up this project from a few months back, where i already had 1 generated class (QUser). Now i made a new entity ca...
Rooftop asked 20/10, 2018 at 12:42

5

Solved

I would like to avoid "default" implementation in interface generate by the maven plugin swagger codegen. For example, with petstore swagger : http://petstore.swagger.io/v2/swagger.json I generate...
Runnel asked 4/5, 2018 at 15:30

1

Solved

I have 3 projects Project A (Client) Project B (Server) Project C (Shared) Within Project B I have the DB connection using the entity framework as well as all the entity classes, Project A (Client...

3

I'm doing a small project to learn swagger-codegen. When I'm executing "mvn clean install" the next errors appear: Unable to make public boolean java.util.Collections$EmptyMap.isEmpty() a...
Egghead asked 15/4, 2021 at 15:50

2

I have a coredata entity with an attribute id of type String when trying to reference that attribute from a key path it throws an error let path = #keyPath(User.id) //Ambiguous reference to member ...
Displeasure asked 7/8, 2020 at 11:8

0

I have a function call foo() inside my main function and the corresponding function foo does not yet exist. I would like PyCharm to generate that function for me, using the light pulp option shown ...
Hannan asked 29/9, 2022 at 14:17

6

Solved

Is it possible via script/tool to generate a delete statement based on the tables fk relations. i.e. I have the table: DelMe(ID) and there are 30 tables with fk references to its ID that I need to...
Tarrasa asked 27/1, 2009 at 22:20

3

Problem I'm revisiting a maven project that I haven't touched in at least a year. I'm pretty sure it was compiling successfully when I left it (there was still a working jar in the target director...
Leninist asked 26/1, 2018 at 13:24

2

Solved

In my VS2010 solution I have set of Powershell scripts and T4 templates based on T4Scaffolding NuGet, everything is working fine with scaffolding and related T4's, but in one of my scripts I need t...
Rotorua asked 9/2, 2012 at 19:5

4

Solved

I have some expirience with .Net Expressions, when I'm able to dynamically generate methods. It's fine, it's good. But now I need to generate a whole class, and it seems that the only way to do it...
Elmore asked 13/7, 2016 at 7:41

2

Solved

I have a C++ framework where some calculations are delegated to (sometimes auto generated) C functions or C++ functions with external "C" linkage. These are low-level routines that must be evaluate...
Homerus asked 6/9, 2017 at 14:57

6

Solved

What I want to do is to create a full Spring WebMVC CRUD API from database tables/Hibernate JPA entities, into an existing Maven Web Project. What I want generate, to be precise: Spring WebMVC co...
Perquisite asked 15/10, 2014 at 9:21

9

I'm looking for a way to generate simplistic TypeScript interfaces from a Swagger schema. Most solutions I find are needlessly complicated. I would like to generate interfaces like this: export ...
Sparkman asked 8/2, 2018 at 19:28

© 2022 - 2024 — McMap. All rights reserved.