Skip to content

Conversation

@VladyslavHnes
Copy link
Contributor

We need to extend Subscription class to contain an object that has jsonPaths and spatial filter data that Config API will populate.

@VladyslavHnes VladyslavHnes requested a review from a team as a code owner February 2, 2026 14:52
Copy link
Contributor

@MateuszJaksa MateuszJaksa left a comment

Choose a reason for hiding this comment

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

Looks good on my side, thanks a lot for this extension.

}

@JsonIgnoreProperties(ignoreUnknown = true)
public static class SubscriptionFilter {
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we re-use the SpatialFilter here, and have a common "filter" object across all the places ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ideally yes, that's what I tried to do initially. But the SpatialFilter object is part of xyz-util and if we try to import it we will get ourselves into a circular dependency situation. I tried moving it in this module too and it's a mess. So the best option is to simply have these values as separate fields

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.

3 participants