-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(DOCSP-27332): Regenerating Kotlin Open a Realm code (#2479)
## Pull Request Info Regenerated the `open-a-realm` snippet and added small blurb about using `RealmConfiguration.create()` (per [Kotlin Sync Feedback Document changes](#2405 (comment)) PR) ### Jira - https://jira.mongodb.org/browse/DOCSP-27332 ### Staged Changes - [Kotlin Quick Start: Open a Realm](https://docs-mongodbcom-staging.corp.mongodb.com/realm/docsworker-xlarge/docsp-27332-open-realm-fix/sdk/kotlin/quick-start/#open-a-realm) ### Reminder Checklist If your PR modifies the docs, you might need to also update some corresponding pages. Check if completed or N/A. - [x] Create Jira ticket for corresponding docs-app-services update(s), if any - [x] Checked/updated Admin API - [x] Checked/updated CLI reference ### Review Guidelines [REVIEWING.md](https://github.com/mongodb/docs-realm/blob/master/REVIEWING.md)
- Loading branch information
1 parent
ff145d4
commit 6f874a5
Showing
3 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
source/examples/generated/kotlin/QuickStartTest.snippet.quick-start-open-a-local-realm.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
val config = RealmConfiguration.create(schema = setOf(Item::class)) | ||
.build() | ||
val realm: Realm = Realm.open(config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters