Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge head master into fork master #1

Open
wants to merge 532 commits into
base: master
Choose a base branch
from

Conversation

djonasdev
Copy link

No description provided.

rose-a and others added 30 commits April 6, 2020 11:48
…http-requests

Return content on failed http requests
Fix Map array deserialisation in Newtonsoft serialiser
…ient into code-cleanup

# Conflicts:
#	src/GraphQL.Client.Abstractions.Websocket/GraphQL.Client.Abstractions.Websocket.csproj
#	src/GraphQL.Client.Serializer.SystemTextJson/GraphQL.Client.Serializer.SystemTextJson.csproj
#	src/GraphQL.Client/GraphQL.Client.csproj
#	src/GraphQL.Client/GraphQLHttpException.cs
#	src/GraphQL.Primitives/GraphQL.Primitives.csproj
#	src/src.props
#	tests/GraphQL.Client.Serializer.Tests/GraphQL.Client.Serializer.Tests.csproj
#	tests/GraphQL.Client.Tests.Common/Helpers/ObservableTester.cs
#	tests/GraphQL.Integration.Tests/GraphQL.Integration.Tests.csproj
#	tests/GraphQL.Integration.Tests/WebsocketTests/Base.cs
#	tests/GraphQL.Primitives.Tests/GraphQL.Primitives.Tests.csproj
dependabot bot and others added 30 commits April 12, 2023 15:35
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Changelog](https://github.com/dotnet/aspnetcore/blob/main/docs/ReleasePlanning.md)
- [Commits](dotnet/aspnetcore@v7.0.4...v7.0.5)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Preparing code to add graphql-transport-ws protocol without breaking previous dependant code

* Added graphql-transport-ws subprotocol. Tested with Graphql Yoga server

* Renamed protocols (dropping the deprecated keyword). Split GraphQLHttpWebSocket into two classes (one per protocol) that inherit from BaseGraphQLHttpWebSocket

* fix formatting, do some refactoring

* create unit tests for graphql-transport-ws protocol

* catch json exceptions on empty close messages

* fix handling of regular requests and errors

* change IGraphQLWebsocketSerializer to support diffenent payload types +semver: breaking

* properly hook up ping pong

* implement sub protocol auto-negotiation

* implement and test ping/ping

* fix formatting error

---------

Co-authored-by: joao-avelino <[email protected]>
* Make UserAgent request header optional.

* Changed to configurable user agent header.

* Update src/GraphQL.Client/GraphQLHttpClientOptions.cs

Co-authored-by: Alexander Rose <[email protected]>

* Update src/GraphQL.Client/GraphQLHttpRequest.cs

Co-authored-by: Alexander Rose <[email protected]>

* Update src/GraphQL.Client/GraphQLHttpRequest.cs

Co-authored-by: Alexander Rose <[email protected]>

* Update src/GraphQL.Client/GraphQLHttpRequest.cs

Co-authored-by: Alexander Rose <[email protected]>

* Update src/GraphQL.Client/GraphQLHttpRequest.cs

* refactor test helpers to provide access to GraphQLHttpClientOptions when creating the test client

* test user agent header

---------

Co-authored-by: Jesse <[email protected]>
Co-authored-by: Ivan Maximov <[email protected]>
Bumps [GraphQL.NewtonsoftJson](https://github.com/graphql-dotnet/graphql-dotnet) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/graphql-dotnet/graphql-dotnet/releases)
- [Commits](graphql-dotnet/graphql-dotnet@7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: GraphQL.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [GraphQL.SystemTextJson](https://github.com/graphql-dotnet/graphql-dotnet) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/graphql-dotnet/graphql-dotnet/releases)
- [Commits](graphql-dotnet/graphql-dotnet@7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: GraphQL.SystemTextJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [GraphQL.MicrosoftDI](https://github.com/graphql-dotnet/graphql-dotnet) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/graphql-dotnet/graphql-dotnet/releases)
- [Commits](graphql-dotnet/graphql-dotnet@7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: GraphQL.MicrosoftDI
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [GraphQL](https://github.com/graphql-dotnet/graphql-dotnet) from 7.4.0 to 7.4.1.
- [Release notes](https://github.com/graphql-dotnet/graphql-dotnet/releases)
- [Commits](graphql-dotnet/graphql-dotnet@7.4.0...7.4.1)

---
updated-dependencies:
- dependency-name: GraphQL
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* change default implementation of response validation method to ensure correct response content type

* add tests for the default validation method

* remove unnecessary comments

Co-authored-by: Ivan Maximov <[email protected]>

* accepted response types private, formatting

* make DefaultIsValidResponseToDeserialize publicly accessible

Co-authored-by: Ivan Maximov <[email protected]>

* AcceptedResponseContentTypes as static field

---------

Co-authored-by: Ivan Maximov <[email protected]>
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.5.0 to 17.6.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.5.0...v17.6.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.2.0 to 6.0.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v3.2.0...v6.0.0)

---
updated-dependencies:
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update ImmutableConverter.cs

Swap properties and parameters in applicability check of ImmutableConverter.
This prevents properties from being lost when they are not all represented in the contructor as parameters.

* Add unit test

* Move test to base zo all serializers are covered

---------

Co-authored-by: Joris van Eijden <[email protected]>
…ervers. (#595)

* Explicitly setting content header to avoid issues with some GraphQL servers. For instance synthetic GraphQL generated out of Azure APIM.
* extend test to cover issue

* fix test

* fix newtonsoft mapconverter

* update gitversion

* Try to fix breaking change regarding implicit using uf System.Net.Http

* update sourcelink package to v 8.0.0

* rm package ref to sourcelink

* add using System.Net.Http to GraphQLHttpWebSocket

* upgrade net7 projects to net8
* upgrade dependencies

* fix code warnings
* Address #630

* Multi-framework build for primitives project

* PR feedback: extension methods
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add stringsyntaxattribute to constructor of GraphQLHttpRequest, ad "QL" abbreviation to resharper dictionary

* disable compiler warnings in stub StringSyntaxAttribute for netstandard2.0

* upgrade dependencies

* use dotnet 8.0 for gh workflows
* copy code for StringSyntaxAttribute from original source

* document syntax highlighting

* add note on usage of GraphQLHttpClient

* add note on response type

* fix wording
…tax highlighting (#638)

* add GraphQLQuery record type for reusable query declarations

* enable GraphQLQuery record from .NET 6.0 upwards

* document GraphQLQuery type

* optimize linebreaks in Readme

* fix code formatting in readme
* Add APQ support

* changes

* rem

* note

* progress

* progress

* fix variable name

* move APQ code to SendQueryAsync method to allow usage over websocket, too

* make the APQDisabledForSession flag public (helps for testing)

* create a test that uses the APQ feature

* test APQ with websocket transport

* move code for generation of the APQ extension into GraphQLRequest

* fix naming

* replace system.memory reference with narrower system.buffers reference

* Update src/GraphQL.Primitives/GraphQLRequest.cs

Co-authored-by: Shane Krueger <[email protected]>

* Update src/GraphQL.Primitives/GraphQLRequest.cs

Co-authored-by: Shane Krueger <[email protected]>

* document APQ feature +semver: feature

* optimize docs

---------

Co-authored-by: Alexander Rose <[email protected]>
Co-authored-by: Alexander Rose <[email protected]>
Co-authored-by: Shane Krueger <[email protected]>
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.