Skip to content

Improve initialization setters/getters #1237

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 1 commit into from
Oct 23, 2020
Merged

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Oct 22, 2020

Addresses: #491

I've randomly seen users post about not being able to set the serverURL. It's usually typescript / web pack / babel issue with defineProperty.

https://parseopensource.slack.com/archives/C011ZF86LR2/p1600690460002100

Thoughts?

@ghost
Copy link

ghost commented Oct 22, 2020

Danger run resulted in 1 fail and 1 markdown; to find out more, see the checks page.

Generated by 🚫 dangerJS

@codecov
Copy link

codecov bot commented Oct 22, 2020

Codecov Report

Merging #1237 into master will decrease coverage by 0.01%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1237      +/-   ##
==========================================
- Coverage   92.40%   92.38%   -0.02%     
==========================================
  Files          54       54              
  Lines        5331     5321      -10     
  Branches     1203     1203              
==========================================
- Hits         4926     4916      -10     
  Misses        405      405              
Impacted Files Coverage Δ
src/Parse.js 84.95% <80.00%> (-1.23%) ⬇️

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 41a8cc3...77a249b. Read the comment docs.

@dplewis dplewis requested review from a team and davimacedo and removed request for a team October 22, 2020 22:10
Copy link
Member

@davimacedo davimacedo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've never seen this problem but I believe the new way you are creating the accessor methods will be easier for typescript, etc "understand". LGTM!

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