From 7756b45a19b835b34cc889a654cbbc4a25082467 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Wed, 19 Aug 2026 19:22:36 +0200 Subject: [PATCH] docs(dsl): Improve documentation syntax highlighting --- .../src/commonMain/kotlin/query/FilterQuery.kt | 10 +++++----- dsl/src/commonMain/kotlin/query/FilterQuery.kt | 14 +++++++------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt b/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt index 3a355034..0b076b2d 100644 --- a/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt +++ b/dsl-template/src/commonMain/kotlin/query/FilterQuery.kt @@ -76,13 +76,13 @@ import kotlin.reflect.typeOf * Developers should use the request above when they want to match a document similar to: * ```json * { - * favoriteNumbers: [1, 2] + * "favoriteNumbers": [1, 2] * } * ``` * The following document will NOT match: * ```json * { - * favoriteNumbers: [3] + * "favoriteNumbers": [3] * } * ``` * @@ -90,7 +90,7 @@ import kotlin.reflect.typeOf * that the following document WILL match: * ```json * { - * favoriteNumbers: [ + * "favoriteNumbers": [ * [3], * [1, 2], * [7, 2] @@ -1770,14 +1770,14 @@ interface FilterQuery : CompoundBsonNode, FieldDsl { * will, as expected, match the following document: * ```json * { - * favoriteNumbers: [1, 4, 5, 10] + * "favoriteNumbers": [1, 4, 5, 10] * } * ``` * * It is important to note that it WILL also match this document: * ```json * { - * favoriteNumbers: 5 + * "favoriteNumbers": 5 * } * ``` * diff --git a/dsl/src/commonMain/kotlin/query/FilterQuery.kt b/dsl/src/commonMain/kotlin/query/FilterQuery.kt index d47a3bff..eb1057a6 100644 --- a/dsl/src/commonMain/kotlin/query/FilterQuery.kt +++ b/dsl/src/commonMain/kotlin/query/FilterQuery.kt @@ -79,13 +79,13 @@ import kotlin.reflect.typeOf * Developers should use the request above when they want to match a document similar to: * ```json * { - * favoriteNumbers: [1, 2] + * "favoriteNumbers": [1, 2] * } * ``` * The following document will NOT match: * ```json * { - * favoriteNumbers: [3] + * "favoriteNumbers": [3] * } * ``` * @@ -93,7 +93,7 @@ import kotlin.reflect.typeOf * that the following document WILL match: * ```json * { - * favoriteNumbers: [ + * "favoriteNumbers": [ * [3], * [1, 2], * [7, 2] @@ -2699,14 +2699,14 @@ interface FilterQuery : CompoundBsonNode, FieldDsl { * will, as expected, match the following document: * ```json * { - * favoriteNumbers: [1, 4, 5, 10] + * "favoriteNumbers": [1, 4, 5, 10] * } * ``` * * It is important to note that it WILL also match this document: * ```json * { - * favoriteNumbers: 5 + * "favoriteNumbers": 5 * } * ``` * @@ -2777,14 +2777,14 @@ interface FilterQuery : CompoundBsonNode, FieldDsl { * will, as expected, match the following document: * ```json * { - * favoriteNumbers: [1, 4, 5, 10] + * "favoriteNumbers": [1, 4, 5, 10] * } * ``` * * It is important to note that it WILL also match this document: * ```json * { - * favoriteNumbers: 5 + * "favoriteNumbers": 5 * } * ``` * -- 2.51.2