Commit Graph

113 Commits

Author SHA1 Message Date
Sam Woodard 2eeccd9649 Update License
Process to transfer ownership to google
2016-07-19 13:50:30 -07:00
Aren Patel de4994e265 Feature/omitempty (#35)
* Implemented a failing test demonstrating the intended behaviour of the omitempty annotation.

* Updated the failing test to ensure that unset field without the "omitempty" annotation are not inadvertently omitted.

* Working implementation of the "omitempty" annotation for fields that are of any type.

* Update the readme to include a brief description of how to use the `omitempty` in a attr field.

* Update the json example also using a uint for type variety.
2016-07-16 08:24:21 -07:00
Sam Woodard 3b09fe9cb9 fix the build 2016-07-15 13:40:23 -07:00
Sam Woodard 81169d52b6 Merge pull request #32 from lyoung-uber/id
Update to reflect official Golang naming specifications
2016-07-15 13:32:39 -07:00
Aren Patel 0c87c2c473 Added the MarshalOnePayloadWithoutIncluded method for marshaling sing… (#34)
* Added the MarshalOnePayloadWithoutIncluded method for marshaling single objects and their relations without actually populating the "included" key with the full related object.

* Completed method description.

* Added a test to ensure that the library is capable of Unmarshmaling a payload where the One object in the payload had relationships but did not include them via "included"
2016-07-13 18:32:04 -07:00
Luke Young 57819f3b34 Follow Golang naming specifications 2016-07-05 20:32:15 -05:00
Sam Woodard 5005a0cfae Add method passthrough to runtime 2016-05-25 09:14:49 -07:00
Sam Woodard a337a3bc9f update travis build versions 2016-04-10 05:06:41 -07:00
Sam Woodard ec72d597cc Merge pull request #30 from brandonbloom/messages
Improve ErrTypeMismatch error message
2016-04-09 05:34:35 -07:00
Brandon Bloom 5b0e148a11 Improve ErrTypeMismatch error message 2016-04-08 17:34:02 -07:00
Sam Woodard 564f8a809c Merge pull request #29 from morenoh149/patch-1
fix typo in example script
2016-03-30 07:23:18 -07:00
Harry Moreno 6c6ec44cd3 fix typo in example script 2016-03-27 14:44:52 -04:00
Sam Woodard ffd7d3c05d Merge pull request #26 from sharonjl/master
Added support for int64 and uint64 primary id types
2016-01-26 10:12:38 -08:00
Sam Woodard a2b98a0910 Merge pull request #24 from shwoodard/add-more-numerics
add support for more numeric types and pointers to
2016-01-12 10:05:49 -08:00
Sam Woodard e1b87012d8 add support for more numeric types and pointers to 2016-01-12 10:00:18 -08:00
Sharon Lourduraj 04bf04450b Added support for int64 and uint64 primary id types 2016-01-07 15:14:57 -05:00
Sam Woodard b2e454fb0a Merge pull request #23 from shwoodard/optimizations
optimizations, refactors
2016-01-05 14:14:39 -08:00
Sam Woodard d4c1f40f1d optimizations, refactors 2016-01-05 13:13:24 -08:00
Sam Woodard ae3568a7b2 Merge pull request #20 from shwoodard/string-array-values
fix with included and handle string array value
2015-10-28 10:15:22 -07:00
Sam Woodard d336c1b556 fix with included and handle string array value 2015-10-28 10:08:50 -07:00
Sam Woodard 00f3f5774e Merge pull request #19 from shwoodard/unmarshal-many
Add UnmarshalManyPayload
2015-10-27 09:33:41 -07:00
Sam Woodard 04da7d3cac Add UnmarshalManyPayload 2015-10-27 09:29:56 -07:00
Sam Woodard 53c7c4e5b5 Merge pull request #17 from shwoodard/nil-times
add support for pointers to time and if nil put null in json response
2015-10-27 09:26:49 -07:00
Sam Woodard 438e9b0626 add support for pointers to time and if nil put null in json response 2015-10-13 09:10:10 -07:00
Sam Woodard fd92bd51ba add a go for travis ci to build with 2015-10-12 15:46:56 -07:00
Sam Woodard 4eef9a091e Merge pull request #16 from shwoodard/client-ids
Client ids and refactor
2015-10-12 15:45:42 -07:00
Sam Woodard 509c75ed6b flag in the wrong the place 2015-10-12 15:41:05 -07:00
Sam Woodard 57cb7c9f3f Merge remote-tracking branch 'origin/master' into client-ids
* origin/master:
  Fix issue #10 to avoid panics with invalid JSON
2015-10-12 11:08:23 -07:00
Sam Woodard fb2e4b68ce fix nil pointer panic 2015-10-12 11:05:06 -07:00
Sam Woodard d9645f7f7e major code simplification while making client ids work 2015-09-17 15:55:53 -07:00
Sam Woodard 2b929743a5 Merge pull request #13 from christianklotz/master
Fix issue #10 to avoid panics with invalid JSON
2015-09-12 11:00:52 -07:00
Sam Woodard 10e0987b5d start supporting client ids 2015-09-10 15:55:51 -07:00
Christian Klotz b11e9985b4 Fix issue #10 to avoid panics with invalid JSON 2015-08-29 18:29:58 +01:00
Sam Woodard e93213ecfb Merge pull request #12 from swr/master
Fix typo in example app go get text.
2015-08-25 07:32:51 -07:00
Sean W. Richardson 0f0ccecbdb Fix typo in example app go get text. 2015-08-24 19:53:05 -05:00
Sam Woodard f666c361ea Merge pull request #11 from dennisfaust/master
Small edits to readme. Standardize on JSON API nomenclature.
2015-08-19 07:26:57 -07:00
Dennis Faust 0af952c6c4 Small edits to readme. Standardize on JSON API. 2015-08-18 14:22:19 -07:00
Sam Woodard 7559c9fda0 Merge pull request #9 from dustinsmith1024/master
Adding methods to return the payload vs writing it out.
2015-08-07 15:58:16 -07:00
Dustin Smith 1e33326303 adding methods to return the payload vs writing it 2015-08-07 17:18:10 -05:00
Sam Woodard b285306d68 fix package short description 2015-08-02 14:11:18 -07:00
Sam Woodard 789321ddea fix readme subtree install url 2015-07-31 21:48:48 -07:00
Sam Woodard 7750131b7c Merge pull request #6 from shwoodard/allow-instrumentation
allow instrumenting serialization and deserialization--event firehose
2015-07-31 16:45:23 -07:00
Sam Woodard a9c87c26ee allow instrumenting serialization and deserialization--event firehose 2015-07-31 16:30:54 -07:00
Sam Woodard 71d0c3734f Merge pull request #5 from shwoodard/readme-installation
Updated GitHub url - fixes #4
2015-07-25 08:15:26 -07:00
Aren Patel 6522035828 Updated GitHub url - fixes #4 2015-07-24 22:06:38 -07:00
Sam Woodard 079f9c91ec Merge pull request #2 from shwoodard/fix-panic-on-no-tag
paniced before when added Blog field to Post
2015-07-20 16:32:54 -07:00
Sam Woodard 23302de79c paniced before when added Blog field to Post 2015-07-20 16:10:52 -07:00
Sam Woodard 853b80c07a add alternative installation with subtress docs 2015-07-19 10:55:51 -07:00
Sam Woodard 0554b45f81 proof read, fixes, clarifications, add installation 2015-07-19 10:32:22 -07:00
Sam Woodard 8d3954359b add show handler example 2015-07-19 10:32:07 -07:00