Skip to content

Conversation

@acoyner
Copy link
Contributor

@acoyner acoyner commented Dec 9, 2025

Closes CXTOOLS-255

@acoyner acoyner requested a review from a team as a code owner December 9, 2025 18:14
func startSubscription() {
subscription = ditto.store.collections().subscribe()
do {
subscription = try ditto.sync.registerSubscription(query: "SELECT * FROM system:collections")

Choose a reason for hiding this comment

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

are we trying to subscribe to all the collections? i.e. here we would need a list of all of the collections, then for each one register a subscription?

this is just registering a subscription to the system collection, which I am not sure we actually need to do that - its always accessible (double check me on that)

Also would that query work? the :collections part isn't misinterpreted as a value placeholder?

Copy link
Member

Choose a reason for hiding this comment

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

We definitely don't want to subscribe to anything in this tool, the fact that the old one did is not a good thing.

@rajramsaroop
Copy link

I don't think we're handling strict mode here at all? My suggestion would be a toggle for strict mode, with default strict mode off

@bplattenburg
Copy link
Member

I'd like to take a step back here and make sure we have a clear path forward here - I think the overall goal is to replace this tool entirely with a DQL editor like @biozal made in Edge Studio rather than something more piecemeal.

@acoyner
Copy link
Contributor Author

acoyner commented Dec 16, 2025

Should I just remove the Data Browser changes from this PR and put up a new one for that change? @bplattenburg

@bplattenburg
Copy link
Member

@acoyner Yes, I think that makes sense to break out

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.

4 participants