Commit graph

34 commits

Author SHA1 Message Date
Aaron L
6401a277cf Be judicious about fkey naming 2016-09-22 22:11:30 -07:00
Aaron L
d438ce5fc1 Remove a couple seldom used vars 2016-09-22 00:21:12 -07:00
Aaron L
9e8cda4abe Special code for naming of one-to-one funcs 2016-09-22 00:21:12 -07:00
Aaron L
7744caa694 Delete unused variable 2016-09-22 00:21:12 -07:00
Aaron L
093db148e3 Change text helpers to use refactored func naming
- This cleans up the function naming so it's easier to follow in all
  cases. Provides better tests for the same.
2016-09-22 00:21:12 -07:00
Aaron L
5ba6769134 Remove unuseful text helper variable 2016-09-20 21:08:19 -07:00
Patrick O'brien
522cb6824c Fix receiver lint errs 2016-09-21 13:38:14 +10:00
Patrick O'brien
a753d91ace Trim additional suffixes (uuid, guid, oid) 2016-09-20 15:00:39 +10:00
Aaron L
3474602ab5 Correct bits here and there from last commits 2016-09-19 18:59:46 -07:00
Patrick O'brien
342a4512b4 Fix relationship tests bug, not setting Valid 2016-09-19 17:03:29 +10:00
Aaron L
f00230c414 Fix names of txt helper functions in templates 2016-09-18 11:18:43 -07:00
Aaron L
be189323d9 Remove package name from txt helpers 2016-09-18 10:31:11 -07:00
Aaron L
64284a7748 Fix one-to-one text_helper ripple
- Rename a bunch of things.
2016-09-17 23:36:10 -07:00
Aaron L
afe2665e52 Clean up the bytes checks with text helpers 2016-09-17 00:02:03 -07:00
Patrick O'brien
bc602811a8 Hush linter 2016-08-30 03:12:22 +10:00
Patrick O'brien
629ec8c8d0 Add hooks to eager load funcs
* Add PreserveDots text helper
* Fix bug using wrong XTitleCases name
2016-08-30 02:36:07 +10:00
Aaron L
e46daf0991 Fix ToMany.Func.ForeignName for renamed fkeys 2016-08-28 16:01:43 -07:00
Aaron L
947081c579 Rename ReverseInserts -> OneToOne
- Fix bug & failing test
- Skip WIP test
2016-08-28 00:27:50 -07:00
Aaron L
43ec917a57 Fix another bug with one_to_one 2016-08-27 23:01:26 -07:00
Aaron L
d778401a7b Another iteration on getting text helpers correct 2016-08-27 17:20:26 -07:00
Aaron L
84e13cf0d4 Refactor function name calculations 2016-08-27 12:29:49 -07:00
Aaron L
ea22d3656c Add more text helpers for ToMany. 2016-08-27 12:00:42 -07:00
Aaron L
28e485603a Add fast path for binding by caching TitleCase 2016-08-23 23:20:41 -07:00
Patrick O'brien
33286e648a Update repo to add vattle org paths 2016-08-09 17:59:30 +10:00
Patrick O'brien
c7c0fe5c0d Add provision for enforced types, eg uuid
* Add enforced to column data
* Add enforced list to driver
* Fix bug in TitleCase (now uses regexp)
* Fix broken zero-value enforced type inserts by using RandomizeEnforcedStruct
2016-08-03 12:05:05 +10:00
Aaron L
9a5742eeea Use query generation for relationship_to_one
- This allows the use of query mods
2016-08-01 20:38:32 -07:00
Aaron L
b447018220 Rename ReverseArgs -> ReverseInserts
- Remove debug comment
2016-07-17 17:52:55 -07:00
Aaron L
1513661e15 New texts to reverse a "to_many" into "to_one" 2016-07-17 17:48:08 -07:00
Aaron L
71dc36c8e6 Delete some comments 2016-07-17 17:46:49 -07:00
Aaron L
f4ce95891c Refine the relationship to_one texts.
- This is so we can completely replace the data set being used
  (combination of tplData, and texts) by texts data.
2016-07-16 23:56:09 -07:00
Patrick O'brien
488e203c0b Change objectSlice to be exported (ObjectSlice) 2016-07-17 00:15:14 +10:00
Aaron L
c57b3ea3b7 Delete random comments. 2016-07-14 23:14:51 -07:00
Aaron L
32b2581ead Add Texthelpers from foreign keys 2016-07-14 21:18:49 -07:00
Aaron L
225a74423a Finish text helpers for relationships. 2016-07-13 22:34:18 -07:00
Renamed from relationship_helpers.go (Browse further)