Comments (1)
Little context for those coming to the project "green". If you do have camel casing in your MediaType or Payload, when you generate your models, you will most likely encounter an error when building around a missing method.
Ex. assuming the User
media type contains Attribute("realName")
models/user_helper.go:49: tmp1.RealNameToRealName undefined (type *string has no field or method RealNameToRealName)
Currently the only way that I have found to resolve this is to change Attribute("realName")
to not use camel casing and instead use Attribute("real_name")
from gorma.
Related Issues (20)
- Specifying the sql schemas of my models
- boolean types not updated to false HOT 3
- Support of UUID for model attributes is not functional
- json field?
- Incorrect column name is set by Field method HOT 13
- POLL: Drop support for Go 1.6 HOT 1
- new storage HOT 3
- confusing docs for `BuildsFrom` HOT 1
- Codegen error when `ArrayOf(MT)` is used in a MT attribute
- HasOne fails to Preload in the helper.go file
- Panic when BuildsFrom does not find an action with the Payload correctly set HOT 2
- Primary key questions
- Unsupported type: 0x8 array in unnamed BuildSource HOT 2
- MySQL Date field
- type **time.Time has no field or method
- The use of BelongsTo
- "Filter By" using Field Alias
- Will gorma be updated for goa v2 ? HOT 1
- maybe use S3 HOT 1
- Gorma support for goa v3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gorma.