Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add with_globals() and friends through state over the protocol #315

Merged
merged 11 commits into from
Jun 27, 2022

Conversation

fantix
Copy link
Member

@fantix fantix commented Jun 9, 2022

Depends on #310

  • Add flags and cardinality back to the sparse object
  • Handle CommandCompleteWithConsequence and ignore the StateSerializationError
  • Disable SET MODULE, SET ALIAS, SET GLOBAL, CONFIGURE SESSION
  • Add tests
  • Encode/decode multi properties
  • Inject correct OIDs serializing tuple/array values

@fantix fantix mentioned this pull request Jun 9, 2022
3 tasks
Base automatically changed from execute-script to master June 13, 2022 14:07
@fantix fantix force-pushed the state-over-proto branch 3 times, most recently from e9226a3 to f7f1f71 Compare June 18, 2022 21:11
@fantix fantix marked this pull request as ready for review June 20, 2022 16:13
@fantix fantix force-pushed the state-over-proto branch 2 times, most recently from db26596 to b579893 Compare June 24, 2022 18:42
@fantix fantix requested review from elprans and 1st1 June 24, 2022 19:19
@fantix fantix force-pushed the state-over-proto branch 2 times, most recently from b9d0bef to 47dd5b9 Compare June 27, 2022 15:46
@fantix fantix merged commit 8582ec1 into master Jun 27, 2022
@fantix fantix deleted the state-over-proto branch June 27, 2022 22:31
elprans added a commit that referenced this pull request Jul 21, 2022
Changes
=======

* Remove DSN from `create_client()`
  (by @elprans in 9081105 for #303)

* Add support for protocol v1.0
  (by @fantix in 51344fe for #306)

* improve error when passing empty query arguments
  (by @nsidnev in 7a393ec)

* Accept args in execute() and use the new Execute message
  (by @fantix in 5298701 for #310)

* drop legacy agruments encoding with named tuple codec
  (by @nsidnev in ef96e76)

* Stop using Parse, replace use of headers with fields
  (by @elprans in b2c9e4b)

* Change headers format to str:json
  (by @fantix in f17a4fd for #319)

* Document rolling back a transaction
  (by @fmoor in 266f18b)

* Support EDGEDB_WAIT_UNTIL_AVAILABLE environment variable
  (by @fmoor in c27ab36)

* Add `with_globals()` and friends through state over the protocol
  (by @fantix in 8582ec1 for #315)

* Implement support for range types
  (by @elprans in a415b9f for #332)

* Implement support for cal::date_duration
  (by @elprans in e77615b for #335)

* Recover from failed COMMIT
  (by @fantix in 9f09e78)

* Allow <array<range<T>>> arguments
  (by @fmoor in 243250c for #351)
@elprans elprans mentioned this pull request Jul 21, 2022
fantix pushed a commit that referenced this pull request Jul 21, 2022
Changes
=======

* Remove DSN from `create_client()`
  (by @elprans in 9081105 for #303)

* Add support for protocol v1.0
  (by @fantix in 51344fe for #306)

* improve error when passing empty query arguments
  (by @nsidnev in 7a393ec)

* Accept args in execute() and use the new Execute message
  (by @fantix in 5298701 for #310)

* drop legacy agruments encoding with named tuple codec
  (by @nsidnev in ef96e76)

* Stop using Parse, replace use of headers with fields
  (by @elprans in b2c9e4b)

* Change headers format to str:json
  (by @fantix in f17a4fd for #319)

* Document rolling back a transaction
  (by @fmoor in 266f18b)

* Support EDGEDB_WAIT_UNTIL_AVAILABLE environment variable
  (by @fmoor in c27ab36)

* Add `with_globals()` and friends through state over the protocol
  (by @fantix in 8582ec1 for #315)

* Implement support for range types
  (by @elprans in a415b9f for #332)

* Implement support for cal::date_duration
  (by @elprans in e77615b for #335)

* Recover from failed COMMIT
  (by @fantix in 9f09e78)

* Allow <array<range<T>>> arguments
  (by @fmoor in 243250c for #351)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants