sqlalchemy-jsonapi icon indicating copy to clipboard operation
sqlalchemy-jsonapi copied to clipboard

5.0.0 Changes

Open ColtonProvias opened this issue 9 years ago • 3 comments
trafficstars

General Changes:

  • [ ] Addition of Ember-compatible filtering
  • [ ] Query modification
  • [ ] Extended filtering
  • [ ] Default pagination settings
  • [ ] Binary data serialization
  • [ ] Optional: MessagePack

Endpoint Changes:

  • [ ] GET Collection
    • [ ] Bad query parameter handling
    • [ ] Filtering
  • [ ] GET Resource
    • [ ] Related Inclusions
    • [ ] Sparse Fieldsets
    • [ ] Bad query parameter
  • [ ] GET Related
    • [ ] Sparse Fieldsets
    • [ ] Related Includes
    • [ ] Sorting
    • [ ] Pagination
    • [ ] Filtering
    • [ ] Bad query parameter
  • [ ] GET Relationship
    • [ ] Sorting
    • [ ] Pagination
    • [ ] Filtering
    • [ ] Bad query parameter
  • [ ] POST Collection
    • [ ] Bad query parameter
  • [ ] POST Relationship
    • [ ] Sorting
    • [ ] Pagination
    • [ ] Filtering
    • [ ] Bad query parameter
  • [ ] PATCH Resource
    • [ ] Sparse Fieldsets
    • [ ] Related Includes
    • [ ] Bad query parameter
  • [ ] PATCH Relationship
    • [ ] Sorting
    • [ ] Pagination
    • [ ] Filtering
    • [ ] Bad query parameter
  • [ ] DELETE Resource
    • [ ] Bad query parameter
  • [ ] DELETE Relationship
    • [ ] Sorting
    • [ ] Pagination
    • [ ] Filtering
    • [ ] Bad query parameter

ColtonProvias avatar Aug 15 '16 18:08 ColtonProvias

AWWWW YISSSS

Datamance avatar Aug 15 '16 22:08 Datamance

Two more things:

URL Safe Base64 encoding of raw byte data. This way big numbers or binary data such as images can be transferred. Plus it provides compatibility with JSON Web Algorithms.

Optional MessagePack serialization. For cell phones where data really counts, shaving off bytes via a smaller serialization format can really help. Same API format, just an optional feature.

ColtonProvias avatar Aug 17 '16 21:08 ColtonProvias

The sorting should be in. I made that list just to keep track of each component as I rewrote it or implemented it. Right now the library should provide inclusions, sorting, pagination, and the hook for permissions checks. Filtering is a challenge as even Ember doesn't spell it out. I was looking into running filters through Python's AST module to parse them as conditional statements that can be converted to SQL, but that got thrown on the backburner as other projects took priority.

On Thu, Dec 1, 2016 at 5:55 PM Roger Studner [email protected] wrote:

Curious - I see the wonderful check list up above -- is any of it already done/in master/useable?

I've got an ember UI i'd like to hook up to this/sql alchemy and the above checklist makes me wonder what this library actually DOES provide (I mean, the above implies I can do GET, but I can't filter it at all). Does this just mean current users (since this is 4.x and 5.x is coming out) are hand-coding that stuff? (which is totally fine).

Super impressive work! I'm just trying to figure out if I adopt this guy, what sort of things i'm in store for :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ColtonProvias/sqlalchemy-jsonapi/issues/22#issuecomment-264321318, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQqHlAlEurlQtCEbCxMU6G-hjxd1Znwks5rD1BmgaJpZM4Jkp6n .

-- Colton J. Provias Film Composer and Audio Engineer Chief Technology Officer, Zeitghost Technologies +1.330.776.8427

ColtonProvias avatar Feb 24 '17 18:02 ColtonProvias