json-api-dotnet/JsonApiDotNetCore

Support JSONB columns

wayne-o opened this issue · 4 comments

Are there any plans to support JSONB columns atm? We are using JSONB in PGSQL and would like to use it more but JADNC doesn't support it - I think because of the IIdentifiable constraint?

Hi @wayne-o, thanks for asking. Can you elaborate a bit, ie what do you expect? Is this the same as #1439?

Hi @wayne-o, thanks for asking. Can you elaborate a bit, ie what do you expect? Is this the same as #1439?

Ah yes I guess it is (I did search for JSONB and that didn't come up), is there any time being spent on this currently? Am I right in thinking that the root complexity will stem from the IIdentifiable constraint required on Resource classes?

is there any time being spent on this currently?

No. I'm currently the only contributor and my focus is on OpenAPI.

Am I right in thinking that the root complexity will stem from the IIdentifiable constraint required on Resource classes?

The resource graph has no concept of complex attributes, where the nested data is keyless. This is a prerequisite for usage in query strings. I haven't thought this through yet, nor done any experiments. You're welcome to give it a try and figure out what would work best.

Closing as a duplicate of #1439. Please let me know when you start working on this.