We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2909ef commit 335d1edCopy full SHA for 335d1ed
1 file changed
Sources/DataTransferObjects/Query/CustomQuery+CompileDown.swift
@@ -175,12 +175,10 @@ extension CustomQuery {
175
176
if let dataSource = query.dataSource, allowedDataSourceNames.contains(dataSource.name) {
177
query.dataSource = .init(dataSource.name)
178
+ } else if let namespace {
179
+ query.dataSource = .init(namespace)
180
} else {
- if let namespace {
- query.dataSource = .init(namespace)
181
- } else {
182
- query.dataSource = .init("telemetry-signals")
183
- }
+ query.dataSource = .init("telemetry-signals")
184
}
185
186
0 commit comments