I am trying to create a mutation but I keep getting a POST body is missing. I can log the data before urql and codegen hooks are called and I can see the data in the variables on the error, but chrome keeps imploding with a "POST body missing" error…
This table definition worked until I realized that having nullable columns meant that I needed to use Option[String] instead of just String. That was the only change I made and this is what my code looks like now.
class RespondentTableDef(tag: Tag)…
I am writing a code generator using JavaPoet and need to put an annotation on the class
For example :
package some.package
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.Entity;
import…
I'm looking to get into Swagger, more specifically, the swagger-codegen tool. I find the provided information, documentation and specs in both github and http://swagger.io/ to be rather confusing (plus, some links to code examples were broken…
I am generating C code with sympy the using the Common Subexpression Elimination (CSE) routine and the ccode printer.
However, I would like to have powered expressions as (x*x) instead of pow(x,2).
Anyway to do this?
Example:
import sympy as sp
a=…
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 file, a definition is using additionnalProperties.
…
I'm making a REST API and I would like to add at the class generation the Jackson annotation to ignore null fields, so I would like to add this annotation onfly for certain classes, not for the hole project.
I know that this could be acomplished by…
I am a bit confused with new codegen functionality.
While developing, you could lookup all files that exist in projects.
But not with codegen.
However, it worked well. But it doesn't fit new framework-oriented programming paradigm.
Scenario:
I have…
I'm currently using Slick codegen (version 3.2.0-M1) to generate Slick code for a database. Many of my tables contain the same columns (with the same name and type), and so I would like to have some methods that can perform operations on these…
Im trying to compile an expression that contains an UndefinedFunction which has an implementation provided. (Alternatively: an expression which contains a Symbol which represents a call to an external numerical function)
Is there a way to do this?…
I prefer to use actual type names for primitive types instead of their corresponding keywords, such as String instead of string, Int32 instead of int, etc., because I like to have consistent syntax highlight and casing - that is, typenames are…
I entered the following code into godbolt.org, and compiled it with gcc 10.1 and clang 10:
#include
#include
typedef std::vector V;
template
InputIt myfind(InputIt first, InputIt last, const T&…
I have a custom EnumConverter setup and I want to use it only for a single column in a specific table to generate the POJOs.
foo.bar.MyTableStatusmytable.status
I've tried…
I am following MathWorks guide to converting MATLAB code to C-code.
The first step is to enter
%#codegen
after every function that I want converted to C-code, however doing so has given me the following prompt on the code below.
function…
I have defined an abstract base class measurementHandler < handle which defines the interface for all inherited classes. Two subclasses of this class are a < measurementHandler and b < measurementHandler.
I now have a function which should return a…