Skip to content

Commit 4956476

Browse files
committed
fix: Dsl Annotation
Description: Was wrongly named `MonktDsl` Fix: Renamed to `GraphQLDsl`
1 parent 45d4adb commit 4956476

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/main/kotlin/schema/Annotations.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ package org.cufy.graphkt.schema
2121
* @since 2.0.0
2222
*/
2323
@DslMarker
24-
annotation class MonktDsl
24+
annotation class GraphQLDsl
2525

2626
/**
2727
* The scope for any graphql routing.

core/src/main/kotlin/schema/BuilderInterfaces.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ interface WithFieldsBuilder<T : Any> {
381381
*
382382
* @since 2.0.0
383383
*/
384-
@MonktDsl
384+
@GraphQLDsl
385385
@OptIn(AdvancedGraphktApi::class)
386386
fun <T : Any, M> WithFieldsBuilder<T>.field(
387387
definition: GraphQLFieldDefinition<T, M>
@@ -397,7 +397,7 @@ fun <T : Any, M> WithFieldsBuilder<T>.field(
397397
* @param block the builder block.
398398
* @since 2.0.0
399399
*/
400-
@MonktDsl
400+
@GraphQLDsl
401401
fun <T : Any, M> WithFieldsBuilder<T>.field(
402402
name: String? = null,
403403
type: GraphQLOutputType<M>? = null,
@@ -414,7 +414,7 @@ fun <T : Any, M> WithFieldsBuilder<T>.field(
414414
* @param block the builder block.
415415
* @since 2.0.0
416416
*/
417-
@MonktDsl
417+
@GraphQLDsl
418418
fun <T : Any, M> WithFieldsBuilder<T>.field(
419419
property: KProperty1<in T, M>,
420420
type: GraphQLOutputType<M>? = null,

0 commit comments

Comments
 (0)