Skip to content

Commit 7b87b20

Browse files
authored
move operation marker interfaces from spring-server to types (#985)
Those generic marker interfaces can be used by different server implementations and are also needed by plugins to be able to generate SDL.
1 parent a56f390 commit 7b87b20

File tree

43 files changed

+123
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+123
-75
lines changed

examples/federation/base-app/src/main/kotlin/com/expediagroup/graphql/examples/query/NestedQuery.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
1616

1717
package com.expediagroup.graphql.examples.query
1818

19-
import com.expediagroup.graphql.spring.operations.Query
19+
import com.expediagroup.graphql.server.operations.Query
2020
import org.springframework.stereotype.Component
2121
import kotlin.random.Random
2222

examples/federation/base-app/src/main/kotlin/com/expediagroup/graphql/examples/query/SimpleQuery.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.expediagroup.graphql.examples.query
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
20-
import com.expediagroup.graphql.spring.operations.Query
20+
import com.expediagroup.graphql.server.operations.Query
2121
import org.springframework.stereotype.Component
2222

2323
@Suppress("FunctionOnlyReturningConstant")

examples/federation/base-app/src/main/kotlin/com/expediagroup/graphql/examples/query/WidgetQuery.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
package com.expediagroup.graphql.examples.query
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
20-
import com.expediagroup.graphql.spring.operations.Query
20+
import com.expediagroup.graphql.server.operations.Query
2121
import com.expediagroup.graphql.examples.model.Widget
2222
import org.springframework.stereotype.Component
2323

examples/federation/extend-app/src/main/kotlin/com/expediagroup/graphql/examples/query/SimpleQuery.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,7 @@
1616

1717
package com.expediagroup.graphql.examples.query
1818

19-
import com.expediagroup.graphql.spring.operations.Query
19+
import com.expediagroup.graphql.server.operations.Query
2020
import org.springframework.stereotype.Component
2121

2222
@Suppress("FunctionOnlyReturningConstant")

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/mutation/OptionalInputMutation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.expediagroup.graphql.examples.mutation
1818

19-
import com.expediagroup.graphql.spring.operations.Mutation
19+
import com.expediagroup.graphql.server.operations.Mutation
2020
import graphql.schema.DataFetchingEnvironment
2121
import org.springframework.stereotype.Component
2222

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/mutation/SimpleMutation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
package com.expediagroup.graphql.examples.mutation
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
20-
import com.expediagroup.graphql.spring.operations.Mutation
20+
import com.expediagroup.graphql.server.operations.Mutation
2121
import org.springframework.stereotype.Component
2222

2323
/**

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/mutation/WidgetMutation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@ package com.expediagroup.graphql.examples.mutation
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
2020
import com.expediagroup.graphql.examples.model.Widget
21-
import com.expediagroup.graphql.spring.operations.Mutation
21+
import com.expediagroup.graphql.server.operations.Mutation
2222
import org.springframework.stereotype.Component
2323

2424
/**

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/query/AsyncQuery.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.expediagroup.graphql.examples.query
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
20-
import com.expediagroup.graphql.spring.operations.Query
20+
import com.expediagroup.graphql.server.operations.Query
2121
import kotlinx.coroutines.coroutineScope
2222
import kotlinx.coroutines.time.delay
2323
import org.springframework.stereotype.Component

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/query/ContextualQuery.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ package com.expediagroup.graphql.examples.query
1919
import com.expediagroup.graphql.annotations.GraphQLDescription
2020
import com.expediagroup.graphql.examples.context.MyGraphQLContext
2121
import com.expediagroup.graphql.examples.model.ContextualResponse
22-
import com.expediagroup.graphql.spring.operations.Query
22+
import com.expediagroup.graphql.server.operations.Query
2323
import org.springframework.stereotype.Component
2424

2525
/**

examples/server/spring-server/src/main/kotlin/com/expediagroup/graphql/examples/query/CoroutineQuery.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 Expedia, Inc
2+
* Copyright 2020 Expedia, Inc
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
1717
package com.expediagroup.graphql.examples.query
1818

1919
import com.expediagroup.graphql.annotations.GraphQLDescription
20-
import com.expediagroup.graphql.spring.operations.Query
20+
import com.expediagroup.graphql.server.operations.Query
2121
import kotlinx.coroutines.async
2222
import kotlinx.coroutines.coroutineScope
2323
import kotlinx.coroutines.delay

0 commit comments

Comments
 (0)