stack using
ractjs (typescript)
Graphql
Problem facing I am trying to generate graphql.ts file using codegen, but when I generate I get duplicate exports. here is my codegen config file.
also i (GraphQL Codegen duplicates RegisterDocument with…
currently I am doing something like this:
Component A calls the delete mutation on click.
const ComponentA = () => {
const [
deleteAttribute,
{ loading: deleteAttributeLoading }, // this loading variable does indeed get set to true when…
I have a maven multi-module project having hierarchy:
parent
+ ota-module
+ ota-common
+ ota-veh-avail-rate
OTA2003B ( http://www.opentravel.org/Specifications/SchemaIndex.aspx?FolderName=2003B ) Schemas I am using:
Common:
…
I'm trying to get sympy to convert some formulas into code in a language almost identical to C. However this language needs float literals to have the 'f' at the end other wise it promotes it to a double. Even when sympy is provided a literal that…
Whenever I run dbt docs generate I am able to successfully generate the default dbt documentation. However, I expect dbt to automatically detect and fill out the column type:
I this a problem of the dbt-sqlserver adapter I am using? Is one of the…
Using this guide https://the-guild.dev/graphql/codegen/docs/advanced/generated-files-colocation
It works as intended for "operation-types" file, but how about the "types.ts" file itself, is it possible to generate separate type file depending for…
I have been attempting to set up Axis2 within Eclipse and have come across an error when trying to generate client code using the Web Service Client wizard in Eclipse by going to New -> Web Services -> Web Service Client.
My current setup…
I meet a problem while I am following the project from Github https://github.com/shivmgg/tvm about integrating NVDLA and TVM. I run it on centos7. I think whether someone who has used this project might help me with my questions.
Hello everyone.
I…
My schema is defined:
export default gql`
enum MyCoolEnum {
A
B
C
}
extend type Mutation {
changeValue(
valueToChange: MyCoolEnum!
): JSON
}
`;
Which produces the following in the generatedSchema
export enum…
Problem:
Is there a way to tell codegen or typescript to remove ? optional chaining.
post.attributes?.Title to post.attributes.Title
since Title is defined in the getPosts query.
Here's the code example.
export type Post = {
__typename?: 'Post';
…
I have Python REST client generated by Swagger codegen. How to send async requests and handle exceptions in non-blocking way? I came up to something like this but it does not differ from synchronous approach since thread.get() is blocking:
thread =…
I have a backend application(let's call it App A) with a grahql endpoint. It's a NodeJs with Nest framework.
The queries on the frontend are generated with codegen (https://the-guild.dev/graphql/codegen). Both frontend and backend are hosted…
I have some extremely repetative code in TypeScript where I need to do essentially this dozens and dozens of times:
const IdPIdChangedDecoder = D.struct({
newIdpId: UuidDecoder,
})
export type IdPIdChangedPayload = D.TypeOf
I'm trying to access page, more specifically in this case Instagram, with paid and working static proxy with the following in the command line
playwright codegen --proxy-server="host:port" --username="user" --password="pass"…
Seems like SymPy makes it pretty easy to do the opposite - convert all floats to ints, but I'm curious how to do the reverse?
The specific problem I'm running into is with the RustCodeGen spitting out expressions with mixed f64/int types, which…