The Wayback Machine - https://web.archive.org/web/20200705025719/https://github.com/topics/code-generation
Skip to content
#

code-generation

Here are 1,001 public repositories matching this topic...

stephanecopin
stephanecopin commented Jun 7, 2019

I've been using Sourcery to generate documentation automatically for GitHub wiki (i.e. generate markdown files based on types & annotations), as it's pretty user friendly on there (as in "easy to read") and also very easy to do in templates thanks to Sourcery's capability to generate files on the fly.

However, using annotations is not very "coder-friendly" though, as it gets hard to maintain be

JD-TB
JD-TB commented Jan 24, 2020
curl --location --request POST 'http://example.com/api/test' \
--header 'Content-Type: multipart/form-data' \
--form 'file=@/C:/Users/Example/Pictures/index.png' \
--form 'name=test'

This is how you do multipart with http. This is for dio.

egdeliya
egdeliya commented Apr 24, 2020

Hi! Kind of really impressed with your library ❤️

But I have some issues with UnknownField null values. It is reproducible with the following test

func TestUnknownFieldsProxyNullField(t *testing.T) {
	baseJson := `{"Field1":"123","Field2":null}`

	s := StructWithUnknownsProxy{}

	err := s.UnmarshalJSON([]byte(baseJson))
	if err != nil {
		t.Errorf("UnmarshalJSON didn't expec
erlendp
erlendp commented Mar 13, 2020

It was not immediately obvious to me how I should reference types generated by codegen throughout my application.

When creating multiple queries that access different fields on a schema type, this can cause issues for fields required on the schema type, but missing in the query.

The documentation loosely shows how to destructure a query result to use the inner objects, rather than using the

PatrikValkovic
PatrikValkovic commented Feb 28, 2020

The Khronos reference page contains description of parameters and description of the behavior for every function. Wouldn't it be possible to add doc comments for the functions, so IDE can show it? I understand the function description is a bit cumbersome, as one description is usually related to multiple functions with similar functionality, however parameters description would help a lot.
I am c

avo
Eli-TW
Eli-TW commented Nov 27, 2019

[docs] Using the phrase "The Drupal CLI" is misleading

Problem/Motivation

The language "The Drupal CLI" is misleading. It implies that this it the only Drupal CLI, or is in some ways more official than other Drupal command line tools. This is present in the repo configuration and the readme, possibly in other places too.

Details to include:

  • Why are we doing this? Above all, a
gjfishman
gjfishman commented Sep 26, 2019

One line summary of the issue here.

Building the scrooge-linter fails because the 19.10.0 version of the util-logging dependency cannot be found. Changing build.sbt to use 19.9.0-SNAPSHOT works fine

Expected behavior

A command like the following should run:

./sbt 'scrooge-linter/runMain com.twitter.scrooge.linter.Main --help'

In this case, this should display the linter's

abeakkas
abeakkas commented Jul 5, 2018

We should add a new argument type for buffers that are used as both input and output. Also documentation for buffer constructor needs to be updated. The code generator should also be modified.

In the CPU code generator that uses Halide there is not difference between input, output and input/output buffers. They are all treated in the same way, but for generating GPU code, we want to be able to

felix11h
felix11h commented Apr 6, 2020

A biexponential synapse, as per the Brian 2 documentation, should implement a current/conductance as g(t)=(tau2/(tau2-tau1))*(exp(-t/tau1)-exp(-t/tau2)).

When playing around with the biexponential synapse concept, I found that maybe the above description might need to be updated. Consider

import matplotlib as mpl
mpl.use('Agg')
import pylab as pl

import numpy as np
from b

An intelligent code generator for Laravel framework that will save you time! This awesome tool will help you generate resources like views, controllers, routes, migrations, languages and/or form-requests! It is extremely flexible and customizable to cover many on the use cases. It is shipped with cross-browsers compatible template, along with a client-side validation to modernize your application.

  • Updated May 30, 2020
  • PHP

Improve this page

Add a description, image, and links to the code-generation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the code-generation topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.