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

AsObserveable is not working as expected #312

Open
tradingproject19 opened this issue Feb 13, 2023 · 2 comments
Open

AsObserveable is not working as expected #312

tradingproject19 opened this issue Feb 13, 2023 · 2 comments

Comments

@tradingproject19
Copy link

tradingproject19 commented Feb 13, 2023

Attached image is the schema of one my databases.

image

I am using following to get realtime updates.

var d = client.Child("A")
                .OrderByKey()
                .AsObservable<Ticker>()
                .Subscribe(d => 
                {
                    Debug.WriteLine(JsonConvert.SerializeObject(d));
                });

The problem is whenever any key changes I only get that key. I want to receive an entire set. it's working on nodejs library. So whenever anything changes inside A, I should get all the keys and their values from C to V.

Is it possible?

@tradingproject19
Copy link
Author

Any change in the node should return the entire node.

@tampo80
Copy link

tampo80 commented Nov 24, 2023

you should use d.Object to achieve this

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