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 context header. Improve query constraint comparison #140

Merged
merged 14 commits into from
May 16, 2021
Merged

Conversation

cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented May 12, 2021

Adds context header option. This requires server level header support, X-Parse-Context (currently missing here: https://github.com/parse-community/parse-server/blob/9ea355b4635226ae4da17c8cc5fb0321e3fdec5e/src/middlewares.js#L38). If added on the server level, will only work with parse-server > 4.5.0.

  • Added context header option
  • Improved query constraint comparisons
  • Improved API header tests
  • Added playground context example
  • Improve LiveQuery section of readme
  • Update Jazzy docs to 0.13.7
  • Added changelog
  • Prepare for release

@codecov
Copy link

codecov bot commented May 12, 2021

Codecov Report

Merging #140 (cd3f9fe) into main (b196fca) will increase coverage by 0.54%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #140      +/-   ##
==========================================
+ Coverage   81.00%   81.54%   +0.54%     
==========================================
  Files          68       68              
  Lines        6374     6384      +10     
==========================================
+ Hits         5163     5206      +43     
+ Misses       1211     1178      -33     
Impacted Files Coverage Δ
Sources/ParseSwift/API/API.swift 98.18% <100.00%> (+2.14%) ⬆️
Sources/ParseSwift/Types/Query.swift 92.66% <100.00%> (+1.17%) ⬆️
Sources/ParseSwift/Objects/ParseObject.swift 77.54% <0.00%> (+0.53%) ⬆️
Sources/ParseSwift/Coding/AnyEncodable.swift 61.84% <0.00%> (+15.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b196fca...cd3f9fe. Read the comment docs.

@cbaker6 cbaker6 requested a review from TomWFox May 12, 2021 14:34
@cbaker6 cbaker6 merged commit f44e2ff into main May 16, 2021
@cbaker6 cbaker6 deleted the context branch May 16, 2021 17:57
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.

1 participant