I am taking from user a symbolic expression as input and then differentiating it wrt to variables and then making a matrix consisting of the expression and differentiated expression. Then passed this through codegen to generate a c file.
But I want…
I'm trying to configure my codegen.yml file to interact with my GraphQL API on the MongoDB Atlas. But when I use Authorization: "eVaziLp8LgiFJivRQDgoLsjqbqm8KH5W2ykd4GD1hhR4FQ4DbE2I4wtEtM21hmpv", I receive the error expected Authorization header…
I have already used Apolloclient with Codegen in Next js.
To fetch data in server side, I used this code.
const { data }: { data: FilterDataQuery } =
await client(req).query({
query: FilterDataDocument,
variables: {…
I need to fetch a schema from graphQL API endpoint.
So the result must be a string like:
type User {
id: ID!
name: String!
}
type Home {
user: User!
address: String
country: String!
}
type Query {
MyUsers: User!
…
i'm trying to generate mex file for my project. I'm always getting the following error and i don't understand it well and also how to fix it:
[11/11] /usr/bin/xcrun -sdk macosx12.1 clang build/maci64/simulation.o build/maci64/simulation_test_data.o…
I have a React app that save a dictionary and each key is an shortId and the value is an object.
look like that
{
'abcd1234':{ip:'1.1.1.1', c_type: 1},
'9876fedc':{ip:'2.2.2.2', c_type: 2},
}
I tried to build objects in openApi yaml for the…
I'm trying out GraphQL codegen + graphql-typed-document-node. The examples provided by the library works (check out github link). However, when I apply it to my React app, it failed to compile.
I have generated the types from backend schema and…
i have meet a problem when using coder to generate C coder.
matlab function contains a sentences like
function [ B ] = fn1( A )
a = A(:,2);
B = a+1;
end
A is input parameter, 4x2 matrix.
i got c code:
void fn1(const float A[8], float…
I am using swagger codegen to generate the controller for me. And there is a if statement there but it seems to me it is not necessary. Thank you.
String accept = request.getHeader("Accept");
if (accept != null &&…
I am learning swagger using the example pet store in the swagger editor: https://editor.swagger.io/
The code for spring is generated and I does not change anything. However, everytime I run it on http://localhost:8080, it gives the error…
I have an interface and class file auto-generated using a custom maven plugin I created. The plugin will read the necessary data from a JSON file and create me a Java files using Jenesis4Java (Mojo code provided below).
REQUIREMENT - i have to…
I am writing a codegen problem, in which the output is x86/64 assembly code file. I have the following output seqeunce
mov -0x8(%rbp), %r10 // r10 = 0 at the moment
mov $0xa, %r11 // r11 = 10
cmp %r11, %r10
setg -0x10(%rbp) …
I wrote a script in MATLAB and I am trying to generate C code.
I have not used C over the years so I am a little bit confused rn. I am using the MATLAB coder to generate C code automatically. This worked perfectly and now I am trying to open the C…
I am using additionalPropertes in my OpenAPI definition to refer a map object. The part of my OAS is given below:
Configuration:
title: Configuration Info
type: object
additionalProperties:
type: string
description: The config…
Are there some sort of options you can configure for Apollo Client Codegen beyond the basic limited options here? Specifically I am trying to:
Remove top level __generated__ folder
Format after generation
Change filename casing
The command I am…