Skip to content

feat: Static encoders/decoder access #259

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

Merged
merged 2 commits into from
Oct 17, 2021
Merged

feat: Static encoders/decoder access #259

merged 2 commits into from
Oct 17, 2021

Conversation

cbaker6
Copy link
Contributor

@cbaker6 cbaker6 commented Oct 17, 2021

New Pull Request Checklist

Issue Description

Currently encoders and decoders can only be accessed via instances of ParseObject's.

Related issue: #N/A

Approach

Allow the encoders/decoder to be accessed statically, not requiring an instance. The instance versions are still available as there can be times where it's easier to access the instance version.

TODOs before merging

  • Add tests
  • Add entry to changelog
  • Add changes to documentation (guides, repository pages, in-code descriptions)

@cbaker6 cbaker6 changed the title Static encoders/decoder feat: Static encoders/decoder access Oct 17, 2021
@codecov
Copy link

codecov bot commented Oct 17, 2021

Codecov Report

Merging #259 (51ea0ec) into main (aeb363f) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #259      +/-   ##
==========================================
- Coverage   76.81%   76.80%   -0.01%     
==========================================
  Files          98       98              
  Lines       10412    10421       +9     
==========================================
+ Hits         7998     8004       +6     
- Misses       2414     2417       +3     
Impacted Files Coverage Δ
Sources/ParseSwift/Coding/Extensions.swift 100.00% <100.00%> (ø)
Sources/ParseSwift/Objects/ParseUser.swift 79.64% <0.00%> (-0.32%) ⬇️

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 aeb363f...51ea0ec. Read the comment docs.

@cbaker6 cbaker6 merged commit 3934a45 into main Oct 17, 2021
@cbaker6 cbaker6 deleted the staticEncoders branch October 17, 2021 15:34
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