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

RDART-950: Update nullability annotations for base url API #1652

Merged
merged 3 commits into from
May 1, 2024

Conversation

nirinchev
Copy link
Member

Updates nullability annotations - the getter should never return null, while the setter should accept null to indicate the developer wants to reset the base url to the default value.

Fixes #1523.

Copy link

coveralls-official bot commented Apr 30, 2024

Pull Request Test Coverage Report for Build 8908673989

Details

  • 5 of 5 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.74%

Totals Coverage Status
Change from base Build 8881197290: 0.0%
Covered Lines: 5894
Relevant Lines: 6795

💛 - Coveralls

Copy link
Member

@elle-j elle-j left a comment

Choose a reason for hiding this comment

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

Nice 🙂 Just left a comment that would be good to know if the SDKs should align on regarding reverting the url.

packages/realm_dart/lib/src/app.dart Show resolved Hide resolved
packages/realm_dart/lib/src/app.dart Show resolved Hide resolved
packages/realm_dart/lib/src/app.dart Show resolved Hide resolved
nirinchev and others added 2 commits May 1, 2024 13:16
Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
Co-authored-by: LJ <81748770+elle-j@users.noreply.github.com>
@nielsenko nielsenko merged commit cf61e32 into main May 1, 2024
54 of 56 checks passed
@nielsenko nielsenko deleted the ni/update-base-url branch May 1, 2024 14:38
nirinchev added a commit that referenced this pull request May 27, 2024
* main: (37 commits)
  RDART-930: Refactor handles (#1550)
  Forgot to show GeoPolygon
  Add vNext Changelog header (#1687)
  [Release 2.3.0] (#1686)
  RDART-1028: Use Zone.current.bindUnaryCallbackGuarded for RawReceivePort.handler (#1683)
  RDART-1021: Wire up some basic dynamic setting and change notifications (#1669)
  RDART-1022: Drop x86 as target (#1682)
  RDART-1034: Update realm-core to v14.7.0 (#1681)
  Skip select test
  RDART-1018: Fix badly generated _fromJson (#1664)
  Add vNext Changelog header (#1660)
  [Release 2.2.1] (#1659)
  Update CHANGELOG.md
  RDART-1016: Cleanup iOS podspec (#1658)
  Add vNext Changelog header (#1655)
  [Release 2.2.0] (#1654)
  RDART-1015: Update core to v14.6.2 (#1651)
  RDART-950: Update nullability annotations for base url API (#1652)
  RDART-964: Add PrivacyInfo.xcprivacy for iOS and macOS (#1646)
  RDART-1014: Bump required sdk version to ^3.3.0 (#1648)
  ...

# Conflicts:
#	CHANGELOG.md
#	packages/realm_dart/lib/src/native/realm_core.dart
#	packages/realm_dart/src/realm-core
#	packages/realm_dart/test/realm_test.dart
#	packages/realm_dart/test/session_test.dart
#	packages/realm_dart/test/test.dart
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

baseUrl Change
3 participants