silverstripe-restfulapi
silverstripe-restfulapi copied to clipboard
Addressing Issue #50.
Relations with no records should still show up in the serialized data, just as an empty array. Added tests to check serialization behavior.
Looks like a big change, but most changes are due to indentation issues (there were tabs and spaces mixed, which could probably be unified across all files).