Erol
|
abc830b41e
|
Add proc shortcut use case to README
|
2018-07-16 09:05:04 -07:00 |
|
Erol
|
5c8e9358f2
|
Add spec for proc methods with optional arguments
|
2018-07-16 09:05:04 -07:00 |
|
Erol
|
77a3a0bb5b
|
Allow passing procs with variable arguments when declaring an attribute
|
2018-07-16 09:05:04 -07:00 |
|
Shishir Kakaraddi
|
dc2b78bbe4
|
merging with release branch
|
2018-07-04 09:35:33 +05:30 |
|
Oleksiy Babich
|
ecb92f07f5
|
add is_collection parameter to force corresponding serialization (#239)
* add is_collection parameter to force corresponding serialization
* add documentation for is_collection purpose, behavior
and notes re. default autodetect logic
|
2018-07-03 19:35:06 -07:00 |
|
Kyle Reeves
|
af38b30179
|
remove options param from Link class
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
01477e9c5b
|
fix relationship id_hash method
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
699630d812
|
create link class
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
f86a8926f5
|
make include_relationship? a public method and use it in get_included_records method
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
30596c4488
|
move add_relationship to each class method
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
6e7d8b7ee0
|
make fetch_associated_object a public method on relationship class so it can be called from SerilizationCore class
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
22d412246f
|
WIP
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
d47b74f71f
|
all tests are passing, but still need to write tests for relationship class
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
7b23adddc4
|
working on new relationship class
|
2018-07-03 19:33:34 -07:00 |
|
Trevor Hinesley
|
f864099761
|
Conditional relationships should be removed from included when proc evaluates to false
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
0b70657a41
|
update test for conditional relationships
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
25c099e923
|
add documentation for conditional relationships
|
2018-07-03 19:33:34 -07:00 |
|
Kyle Reeves
|
5558dcd703
|
allow conditional relationships
|
2018-07-03 19:33:34 -07:00 |
|
Guillermo Iguaran
|
2b01d8ce70
|
Use a Railtie to extend Rails
|
2018-06-21 18:40:42 -07:00 |
|
Darren Johnson
|
4a333d7276
|
Set type value when setting key transform
|
2018-06-21 18:40:24 -07:00 |
|
Trevor Hinesley
|
ba4e112829
|
Since attributes are an instantiated class now, renamed AttributeSerializer to Attribute
|
2018-06-21 18:38:42 -07:00 |
|
Trevor Hinesley
|
5c820695b3
|
Split attribute serialization into its own class
|
2018-06-21 18:38:42 -07:00 |
|
Trevor Hinesley
|
f1df3f4a2d
|
Added documentation about conditional attributes
|
2018-06-21 18:38:42 -07:00 |
|
Trevor Hinesley
|
bad004fd42
|
Allow conditional attributes
|
2018-06-21 18:38:42 -07:00 |
|
Shishir Kakaraddi
|
75229fdfbf
|
Dev (#232)
* Remove extra 'class MovieSerializer' from an example in the README
* Fix serialization for nested nil includes with block
|
2018-06-10 13:37:19 -07:00 |
|
homer
|
44d5e0f9c5
|
Fix serialization for nested nil includes with block
|
2018-05-31 17:16:54 -07:00 |
|
Ray Walters
|
f54e6242ff
|
Remove extra 'class MovieSerializer' from an example in the README
|
2018-05-31 17:16:38 -07:00 |
|
Shishir Kakaraddi
|
39fdc6f66c
|
merge with master
|
2018-05-31 17:13:34 -07:00 |
|
Shishir Kakaraddi
|
81375cfcf7
|
bump up version to 1.2
|
2018-05-31 16:36:16 -07:00 |
|
Shishir Kakaraddi
|
ef42fb3031
|
Changes for version 1.2 (#220)
params support in blocks, nested includes etc
Co-authored-by: Jodi Showers <jodi@nnovation.ca>
Co-authored-by: Ryan O'Donnell <ryan@gocleary.com>
Co-authored-by: Les Fletcher <les.fletcher@gmail.com>
Co-authored-by: Ankit gupta <ankit.gupta8898@gmail.com>
Co-authored-by: Masato Ohba <over.rye@gmail.com>
Co-authored-by: Shuhei Kitagawa <shuhei.kitagawa@c-fo.com>
Co-authored-by: Zino <rhu5@u.rochester.edu>
Co-authored-by: Carlos Solares <csolares23@gmail.com>
Co-authored-by: Brandon Buck <lordizuriel@gmail.com>
Co-authored-by: Daniel Roux <xuoroux@gmail.com>
Co-authored-by: Dillon Welch <daw0328@gmail.com>
|
2018-05-31 16:35:59 -07:00 |
|
Shishir Kakaraddi
|
cd1bc0968e
|
dont create a object for a has one relationship unnecessarily just to fetch id
|
2018-05-20 15:11:07 -07:00 |
|
Shishir Kakaraddi
|
a018f1d32f
|
minor fixes to data links feature
|
2018-05-20 15:08:47 -07:00 |
|
Shishir Kakaraddi
|
ea5296ac25
|
making object level links similar to attributes
|
2018-05-20 15:08:47 -07:00 |
|
Jodi Showers
|
74f27ccdf0
|
Links within data (#161)
|
2018-05-20 13:14:46 -07:00 |
|
Ryan O'Donnell
|
b090391551
|
Fix serialization for nested nil includes
|
2018-05-18 19:06:16 -07:00 |
|
Les Fletcher
|
077817ecec
|
fix skylight normalizers issue
|
2018-05-16 18:43:05 -07:00 |
|
Ankit gupta
|
ac136b988c
|
Merge pull request #213 from ohbarye/patch-1
Remove dead link
|
2018-05-14 21:42:53 -07:00 |
|
Masato Ohba
|
7263aba777
|
Remove dead link
Because the position is closed.
Refs: https://github.com/Netflix/fast_jsonapi/issues/209
|
2018-05-15 12:39:23 +09:00 |
|
Shishir Kakaraddi
|
3fb975602b
|
fixes some unnecessary performance test failures
|
2018-05-14 19:27:50 -07:00 |
|
Guillermo Iguaran
|
190bedaa05
|
Refactor compute_serializer_name to follow DRY
|
2018-05-14 17:54:33 -07:00 |
|
Shishir Kakaraddi
|
00d3aa4997
|
adding NotImplementedError when trying to include polymorphic relationships
|
2018-05-10 23:22:21 -07:00 |
|
Shishir Kakaraddi
|
d7f5c34404
|
fixes a syntax error
|
2018-05-10 22:13:59 -07:00 |
|
Jodi Showers
|
3ebf34928c
|
Serialize nested includes (#152)
|
2018-05-10 21:17:32 -07:00 |
|
Shishir Kakaraddi
|
966b3509a4
|
update readme
|
2018-05-08 22:11:22 -07:00 |
|
Shishir Kakaraddi
|
63f905ab36
|
adds params to relatinoship blocks and tests
|
2018-05-08 22:11:22 -07:00 |
|
Shuhei Kitagawa
|
5b64e90956
|
Add tests for block relationship
|
2018-05-06 10:26:38 -07:00 |
|
Shuhei Kitagawa
|
e39de8c8c4
|
Enable to use block to define relationship
|
2018-05-06 10:26:38 -07:00 |
|
Shishir Kakaraddi
|
4523508c5b
|
inherits attributes, relationships and other settings from parent serializer
|
2018-05-05 19:12:45 -07:00 |
|
Zino
|
f4f289a0bc
|
Remove duplicate id_hash call from #record_hash
|
2018-05-03 20:50:03 -07:00 |
|
Zino
|
faa8fe6caf
|
Use string for serializer name
|
2018-05-02 10:22:22 -07:00 |
|