Commit Graph

209 Commits

Author SHA1 Message Date
Kononnable
099f4bcc9a more tests passing 2019-10-07 13:42:48 +02:00
Kononnable
e86a26d279 more tests passing 2019-10-06 16:21:12 +02:00
Kononnable
113e2ff3bf prettyfying generated models, fixing some of the tests 2019-10-05 00:04:53 +02:00
Kononnable
130c682458 mysql relations rewrite 2019-10-03 23:34:48 +02:00
Kononnable
76f3ed2ad2 mssql driver without relations 2019-10-02 19:39:43 +02:00
Kononnable
ab23f71756 temporatry disabling part of code 2019-10-02 14:04:23 +02:00
Kononnable
fb529bca0b changes in model, basic template file 2019-10-01 22:36:37 +02:00
Kononnable
a13da7848e new model files 2019-09-26 20:35:10 +02:00
Kononnable
7a2395ab2a move old models to temporary folder 2019-09-23 22:53:09 +02:00
Kononnable
ef10b8653a enum type safety #205 2019-09-23 20:26:45 +02:00
Kononnable
4d07feab60 change default case conversions for generated files
closes #196
2019-09-15 20:06:36 +02:00
Kononnable
ae812e1661 updated changelog, readme, fixed typos 2019-08-25 23:11:33 +02:00
Kononnable
0bedb0da7e
Fixed RelationId generation. (#192)
Fixed RelationId generation.
2019-08-25 22:16:57 +02:00
Kononnable
738dde40ae changed spacing in tomg-config files 2019-08-25 21:45:49 +02:00
Vasil Rangelov
b1047c88f7 Merge branch 'master' of https://github.com/Kononnable/typeorm-model-generator into relation-id-fix
# Conflicts:
#	src/entity.mst
2019-08-23 12:34:48 +03:00
Vasil Rangelov
cf23453c36 Fixed RelationId generation. 2019-08-23 10:38:44 +03:00
Kononnable
af210c6e83 merge master branch 2019-08-21 23:07:57 +02:00
Kononnable
14feb68cca add strictMode generation option 2019-08-21 23:05:00 +02:00
Kononnable
3682077b7e
Added support for detached entities (#177)
Added support for detached entities
2019-08-21 18:59:35 +02:00
Kononnable
130be42f25 change param name to skipSchema 2019-08-21 18:50:07 +02:00
Kononnable
9d49fd3ee7 disable generating complex relationships
until they're not generated completly
2019-08-19 21:45:12 +02:00
Vasil Rangelov
fbf5980dce Merge branch 'master' of https://github.com/Kononnable/typeorm-model-generator into support-detached
# Conflicts:
#	src/index.ts
#	src/models/EntityInfo.ts
2019-08-19 17:09:00 +03:00
Vasil Rangelov
3cec1836a1 Merge branch 'master' of https://github.com/Kononnable/typeorm-model-generator into partial-init
# Conflicts:
#	src/entity.mst
2019-08-19 15:09:51 +03:00
Bogdan Korenkov
49274fe4db fix: wrong address typed 2019-08-15 09:56:08 +03:00
Kononnable
b0842debf9 fix tests on CI 2019-08-14 13:09:06 +02:00
Kononnable
6021be0041 merge master branch 2019-08-14 12:54:50 +02:00
Kononnable
ebbf753864 option to add visibility to constructor #169 2019-08-12 21:35:37 +02:00
Kononnable
52fa711c07 switch to eslint-typescript from deprecated tslint
(part2)
2019-08-12 17:32:28 +02:00
Kononnable
0d0ceeb1da switch to eslint-typescript from deprecated tslint
(part 1)
2019-08-11 20:59:41 +02:00
Kononnable
ecd90e8ac8 query timeout option #185 #188 2019-08-09 22:34:56 +02:00
Kononnable
b81b54f57f set precision when scale isn't default numeric types
fixes  #184
2019-08-09 19:40:01 +02:00
Kononnable
139aac0fac support for postgres enum types #187 2019-08-09 18:13:13 +02:00
Kononnable
1b8d561ec5 Merge branch 'master' of github.com:Kononnable/typeorm-model-generator 2019-08-08 22:24:36 +02:00
Kononnable
e8c01bdba9 docs change 2019-08-08 21:57:29 +02:00
Kononnable
0794cf92ef update dependencies 2019-08-08 20:43:04 +02:00
Vasil Rangelov
d20b322f80 Adds "?" to property names, to make the generated code compatible with "strictPropertyInitialization" TS setting.
Also adds a call to super() when in active record mode, to make tslint play nice.
2019-07-19 16:20:29 +03:00
Pawe Kotarski
1e81065b30 merge master 2019-07-19 11:59:38 +02:00
Kononnable
ce8d37c075
Added support for UNSIGNED columns in MySQL. (#179)
Added support for UNSIGNED columns in MySQL.
2019-07-19 11:37:24 +02:00
Kononnable
67de19c980
"Object" to "object" for linting's sake (#172)
"Object" to "object" for linting's sake
2019-07-09 22:47:44 +02:00
Vasil Rangelov
2240cc3aeb Added support for UNSIGNED columns in MySQL. 2019-07-02 15:18:47 +03:00
Ng Tze Yang
4dc1bb387e refact: pretti-fying ; 2019-06-27 11:02:41 +08:00
Ng Tze Yang
9ca015e377 feat: support richer derivation of column & entity name ; 2019-06-27 09:27:08 +08:00
Vasil Rangelov
031d74b39c Added support for detached entities, i.e. entities which are not attached to a schema and database. 2019-06-26 20:28:26 +03:00
Vasil Rangelov
4868dcbdfa Replaced "Object" with "object" for the generated JSON column type, so that TSLint does not complain about it being too general, while still preserving the same semantics. 2019-06-20 15:59:04 +03:00
Vasil Rangelov
c3a9eea49b
strict TS and TSLint compliance
Removed unused "type" argument in favor of an empty argument list;

The generated argument name in RelationId columns now uses the defined property case.
2019-06-18 16:58:47 +03:00
Vasil Rangelov
100d79c5e2
Added property visibility to RelationId properties 2019-06-18 15:56:52 +03:00
Kononnable
1919c18dce moved to ts-node 2019-06-08 00:28:29 +02:00
Kononnable
13eda51860 fixes #157 2019-04-11 21:11:12 +02:00
Kononnable
b6df77debe fixes #139 2019-04-01 22:04:20 +02:00
Kononnable
721ae93214 fixes after merge to latest master, added tests 2019-04-01 12:00:21 +02:00