nikz 85b41c45d4 Adds :lazy_load_data option
If you include a default empty `data` option in your JSON API response,
many frontend frameworks will ignore your `related` link that could be
used to load relationship records, and will instead treat the
relationship as empty.

This adds a `lazy_load_data` option which will:

  * stop the serializer attempting to load the data and;
  * exclude the `data` key from the final response

This allows you to lazy load a JSON API relationship.
2018-10-07 21:23:36 +01:00
..
2018-03-12 22:46:41 -07:00
2018-07-03 19:33:34 -07:00
2018-06-21 18:40:42 -07:00
2018-10-07 21:23:36 +01:00
2018-07-16 21:52:58 -07:00