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

Why does non-optional types have optional: true? #65

Open
abaig-experlabs opened this issue Nov 26, 2021 · 5 comments
Open

Why does non-optional types have optional: true? #65

abaig-experlabs opened this issue Nov 26, 2021 · 5 comments

Comments

@abaig-experlabs
Copy link

subtype {
type = string;
indexed = NO;
isPrimary = NO;
array = NO;
set = NO;
dictionary = NO;
optional = YES;
}
type {
type = string;
indexed = NO;
isPrimary = NO;
array = NO;
set = NO;
dictionary = NO;
optional = YES;
}
swx_stag {
type = string;
indexed = NO;
isPrimary = NO;
array = NO;
set = NO;
dictionary = NO;
optional = YES;
}

@arturdev 
@abaig-experlabs
Copy link
Author

@arturdev can you help me in this?

@arturdev
Copy link
Owner

What is this? And what help do you need?

@abaig-experlabs
Copy link
Author

abaig-experlabs commented Nov 28, 2021

i made an update to ask for requiredProperties just like indexedProperties.
It's intended for realm sync.
Unrealm-master.zip

@arturdev
Copy link
Owner

I still don't understand what is the problem and what you want to achieve.
Can you please elaborate?

@abaig-experlabs
Copy link
Author

Currently, there is no way to specify required properties. Why I need this is because of realm sync. Realm sync is used to sync ream data on MongoDB cloud which is realm's database. So in order to make it compatible with realm sync, i added some updates in the code and sent it to you.

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

No branches or pull requests

2 participants