Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ChilliCream/graphql-platform
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 11.1.0
Choose a base ref
...
head repository: ChilliCream/graphql-platform
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 11.2.0
Choose a head ref

Commits on Mar 30, 2021

  1. Fixed code examples

    michaelstaib committed Mar 30, 2021
    Copy the full SHA
    cc9a364 View commit details

Commits on Mar 31, 2021

  1. Copy the full SHA
    6492a1b View commit details

Commits on Apr 1, 2021

  1. 11.1 Release Blog (#3398)

    Co-authored-by: Rafael Staib <me@rafaelstaib.com>
    michaelstaib and rstaib authored Apr 1, 2021
    Copy the full SHA
    f1f2c26 View commit details
  2. Copy the full SHA
    50ac568 View commit details

Commits on Apr 4, 2021

  1. Copy the full SHA
    41e4f5f View commit details
  2. Changed [BindProperty] to [BindMember] in docs (#3420)

    Co-authored-by: Michael Staib <michael@chillicream.com>
    vraamark and michaelstaib authored Apr 4, 2021
    Copy the full SHA
    7f73c1b View commit details
  3. Copy the full SHA
    7735ec1 View commit details
  4. Copy the full SHA
    2074318 View commit details
  5. Add IHasName to DirectiveDefinitionNode (#3393)

    Nigel Sampson authored Apr 4, 2021
    Copy the full SHA
    059d435 View commit details

Commits on Apr 5, 2021

  1. Copy the full SHA
    1046b64 View commit details
  2. Copy the full SHA
    fbbf470 View commit details
  3. Copy the full SHA
    d2c01ea View commit details
  4. Copy the full SHA
    b81d79d View commit details

Commits on Apr 6, 2021

  1. Added a store less generation option for strawberry shake (#3418)

    Co-authored-by: Michael Staib <michael@chillicream.com>
    PascalSenn and michaelstaib authored Apr 6, 2021
    Copy the full SHA
    7ae9b57 View commit details
  2. Copy the full SHA
    54ac672 View commit details
  3. Copy the full SHA
    01c51c2 View commit details

Commits on Apr 7, 2021

  1. Copy the full SHA
    49f6279 View commit details
  2. Copy the full SHA
    5004098 View commit details
  3. Copy the full SHA
    0264718 View commit details
  4. Copy the full SHA
    dbd37f1 View commit details
  5. Copy the full SHA
    7311895 View commit details

Commits on Apr 9, 2021

  1. Copy the full SHA
    f17cafc View commit details
  2. Copy the full SHA
    966c2f6 View commit details
  3. Copy the full SHA
    661f4a1 View commit details
  4. Copy the full SHA
    d1d9e26 View commit details
  5. Code documentation of IDiagnosticEvents (#3454)

    Co-authored-by: Michael Staib <michael@chillicream.com>
    petli and michaelstaib authored Apr 9, 2021
    Copy the full SHA
    e90190e View commit details
  6. Copy the full SHA
    7f85421 View commit details

Commits on Apr 11, 2021

  1. Copy the full SHA
    f294dd3 View commit details
  2. Copy the full SHA
    6bc96ac View commit details
  3. Copy the full SHA
    5a9cc9a View commit details
  4. Copy the full SHA
    c93746f View commit details
  5. Copy the full SHA
    0abd015 View commit details
  6. Copy the full SHA
    777db6a View commit details
  7. Copy the full SHA
    c67ab3e View commit details
  8. Updated emoji of bug label (#3482)

    Closes #3478
    tobias-tengler authored Apr 11, 2021
    Copy the full SHA
    12327d4 View commit details
  9. Copy the full SHA
    827937f View commit details

Commits on Apr 13, 2021

  1. Copy the full SHA
    e025eab View commit details
  2. Copy the full SHA
    3500e97 View commit details
  3. Copy the full SHA
    1e3b958 View commit details

Commits on Apr 14, 2021

  1. Copy the full SHA
    36b82d3 View commit details
  2. Adds information that public setters are necessary in order to use pr…

    …ojections effectively. (#3489)
    Vec7or authored Apr 14, 2021
    Copy the full SHA
    293cc6a View commit details
  3. Copy the full SHA
    33ecb51 View commit details
  4. Copy the full SHA
    c75087b View commit details

Commits on Apr 15, 2021

  1. Copy the full SHA
    675f520 View commit details
  2. Copy the full SHA
    3676182 View commit details

Commits on Apr 16, 2021

  1. Added support options

    michaelstaib committed Apr 16, 2021
    Copy the full SHA
    5b54a0d View commit details
  2. Fixed Template Chooser

    michaelstaib authored Apr 16, 2021
    Copy the full SHA
    100bf94 View commit details
  3. Copy the full SHA
    7cbdbae View commit details
  4. Copy the full SHA
    e82fed8 View commit details
  5. Copy the full SHA
    5a3f41b View commit details
Showing 603 changed files with 99,819 additions and 75,133 deletions.
2 changes: 1 addition & 1 deletion .build/Build.Environment.cs
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ partial class Build : NukeBuild
AbsolutePath StrawberryShakeNuSpec => SourceDirectory / "StrawberryShake" / "CodeGeneration" / "src" / "MSBuild" / "StrawberryShake.nuspec";
AbsolutePath StarWarsTemplateNuSpec => RootDirectory / "templates" / "StarWars" / "HotChocolate.Templates.StarWars.nuspec";

AbsolutePath StarWarsProj => RootDirectory / "templates" / "StarWars" / "content" / "StarWars" / "StarWars.csproj";
AbsolutePath StarWarsProj => RootDirectory / "templates" / "StarWars" / "content" / "StarWars.csproj";
AbsolutePath EmptyServerTemplateNuSpec => RootDirectory / "templates" / "Server" / "HotChocolate.Templates.Server.nuspec";

AbsolutePath EmptyServerProj => RootDirectory / "templates" / "Server" / "content" / "HotChocolate.Server.Template.csproj";
12 changes: 6 additions & 6 deletions .build/Build.Publish.cs
Original file line number Diff line number Diff line change
@@ -30,10 +30,10 @@ partial class Build : NukeBuild
.Executes(() =>
{
var projFile = File.ReadAllText(StarWarsProj);
File.WriteAllText(StarWarsProj, projFile.Replace("11.0.0-rc.1", GitVersion.SemVer));
File.WriteAllText(StarWarsProj, projFile.Replace("11.1.0", GitVersion.SemVer));

projFile = File.ReadAllText(EmptyServerProj);
File.WriteAllText(EmptyServerProj, projFile.Replace("11.0.0-rc.1", GitVersion.SemVer));
File.WriteAllText(EmptyServerProj, projFile.Replace("11.1.0", GitVersion.SemVer));
});

Target PackLocal => _ => _
@@ -65,10 +65,10 @@ partial class Build : NukeBuild
.ParseSolution(SgSolutionFile)
.GetProjects("*.Analyzers")
.Single();

Project parsedProject = ProjectModelTasks.ParseProject(analyzerProject);
ProjectItem packageReference = parsedProject.Items
.Single(t =>
.Single(t =>
t.ItemType == "PackageReference" &&
t.IsImported == false &&
t.EvaluatedInclude == "StrawberryShake.CodeGeneration.CSharp");
@@ -89,15 +89,15 @@ partial class Build : NukeBuild
.SetConfiguration(Configuration)
.SetOutputDirectory(PackageDirectory)
.SetVersion(GitVersion.SemVer));

var analyzerTestProject = ProjectModelTasks
.ParseSolution(SgSolutionFile)
.GetProjects("*.Tests")
.Single();

parsedProject = ProjectModelTasks.ParseProject(analyzerTestProject);
packageReference = parsedProject.Items
.Single(t =>
.Single(t =>
t.ItemType == "PackageReference" &&
t.IsImported == false &&
t.EvaluatedInclude == "StrawberryShake.CodeGeneration.CSharp.Analyzers");
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve

labels: 🐛 bug
---

**Describe the bug**
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: ChilliCream Community Support
url: https://bit.ly/joinchilli
about: Join us on slack! We have a vibrant community that is helping each other.
- name: ChilliCream Enterprise Support
url: https://chillicream.com/support
about: Get immediate access to a pool of ChilliCream experts which will support you along your journey.
7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project

labels: 🎉 enhancement
---

**Is your feature request related to a problem? Please describe.**
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -3,4 +3,4 @@ Summary of the changes (Less than 80 chars)
- Detail 1
- Detail 2

Addresses #bugnumber (in this specific format)
Closes #bugnumber (in this specific format)
71 changes: 71 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
change-template: '- $TITLE by @$AUTHOR (#$NUMBER)'
no-changes-template: '- No changes'
categories:
- title: '📚 Documentation'
labels:
- '📚 documentation'
- title: '🌶️ Banana Cake Pop'
labels:
- '🌶️ banana cake pop'
- title: '🌶️ Green Donut'
labels:
- '🌶️ green donut'
- title: '🌶️ Hot Chocolate'
labels:
- '🌶️ hot chocolate'
- title: '🌶️ Marshmallow Pie'
labels:
- '🌶️ marshmallow pie'
- title: '🌶️ Strawberry Shake'
labels:
- '🌶️ strawberry shake'
- title: '🌶️ Website'
labels:
- '🌶️ website'
- title: '🧰 Maintenance'
labels:
- '🧰 maintenance'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
$CHANGES
## 👨🏼‍💻 Contributors
$CONTRIBUTORS
autolabeler:
- label: '🌶️ banana cake pop'
files:
- 'src/BananaCakePop'
- label: '🌶️ green donut'
files:
- 'src/GreenDonut'
- label: '🌶️ hot chocolate'
files:
- 'src/HotChocolate'
- label: '🌶️ marshmallow pie'
files:
- 'src/MarshmallowPie'
- label: '🌶️ strawberry shake'
files:
- 'src/StrawberryShake'
- label: '🌶️ website'
files:
- 'website'
- label: '🧰 maintenance'
files:
- '.build/**/*'
- '.github/**/*'
- '.devops/**/*'
- '.vscode/**/*'
20 changes: 20 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release Drafter

on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47 changes: 45 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Addtional HotChocolate scalars (HotChocolate.Types.Scalars)
## [11.1.0]

### Added

- Additional HotChocolate scalars (HotChocolate.Types.Scalars)
- PhoneNumber (#2995)
- EmailAddress (#2989)
- NegativeFloat (#2996)
@@ -33,13 +37,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- HexColor (#3077)
- UnsignedInt (#3052)
- PostalCode (#3046)
- UtcOffset (#3362)

- Added support for GraphQL multipart request specification to Hot Chocolate (#2936).
- Added GraphQL client Strawberry Shake.
- Added Strawberry Shake GraphQL client.
- Added MongoDB integration
- Added support for .NET 6
- Added support for experimental directive introspection.
- Added schema interceptor delegates + extensions (#3005)
- Added transaction support to mutation requests. (#2913)
- Added type overload to UseProjection (#3093)
- Adds re-projection features to spatial types aka spatial transformations (#2904)
- Added support for the FromServicesAttribute (#3084)

### Changed

- Reduced the type system memory footprint. (#3071)
- Reworked ExtendObjectType to be able to extend by System.Type (#3316).
- Made the ExtendObjectType Name setter obsolete (#3363)
- Added some minor improvements to make type extensions easier (#3361)
- Exposed more details about the cache (#3340)
- Cleared document cache on schema eviction (#3303)
- Allow sorting handler to be set directly via ExtendObjectType (#3222)
- Allow nullable context data (#3000)

### Fixed

- Fixed issue where the PagingHelper introduced a self-reference which cause type system initialization issues.
- Fixed dependency injection behavior of type extensions. (#3376)
- Allow to ignore members by name. (#3366)
- Ensured that Authorize can be applied on extension types (#3364)
- Fixed DateTimeType with default(DateTime) (#3347)
- Ensure subscriptions work when fragments are used (#3343)
- Fixed issue with `HotChocolate.Data` attributes on extended types (#3333)
- Fixed operation compiler issue with nested fragments. (#3328)
- Added missing timeout middleware (#3329)
- Fixed nullability issue in input formatter (#3323)
- Fixed error message in execution (#3324)
- Fixed nullability issue in mapper (#3322)
- Fixed bug where query interfere with each other (#3321)
- Fixed schema inference of operation cache (#3306)
- Fixed AnyType for schema stitching (#2997)
- Fixed operation cancelled exception on subscription backend (#3075)
- Fixed issue where an empty root selection-set lead to an execution timeout (#3257)
- Fixed TypeTrimmer interface detection (#3079)
- Fixed nullable matrix types in schema first. (#2998)
- Fixed fragment projections issue with the operation compiler. (#2920)

## [11.0.9]

16 changes: 12 additions & 4 deletions COMMUNITY.md
Original file line number Diff line number Diff line change
@@ -8,13 +8,21 @@ Feel free to open a PR to include your project in this list.

Various libraries, packages, etc. that developers can add to their own project and benefit from.

### Data access

- [TransactChoco](https://github.com/dalrankov/TransactChoco) - TransactionScope middleware for Hot Chocolate
- [GraphQL.PreprocessingExtensions](https://github.com/cajuncoding/GraphQL.RepoDB/tree/main/GraphQL.PreProcessingExtensions) - HotChocolate resolver extensions for working with Micro ORM(s) and encapsulated data access without IQueryable.
- [GraphQL.RepoDB](https://github.com/cajuncoding/GraphQL.RepoDB) - An integration library for HotChocolate and SQL Server data access using RepoDB micro-orm.

### Relay

- [AutoGuru.HotChocolate.PolymorphicIds](https://github.com/autoguru-au/hotchocolate-polymorphic-ids) - Polymorphic Relay IDs for HotChocolate

### Validation

- [AppAny.HotChocolate.FluentValidation](https://github.com/appany/AppAny.HotChocolate.FluentValidation) - Input field HotChocolate + FluentValidation integration
- [FairyBread](https://github.com/benmccallum/fairybread) - Input validation for Hot Chocolate
- [DataAnnotatedModelValidations](https://github.com/fiakkasa/DataAnnotatedModelValidations) - Data Annotated Model Validation Middleware for HotChocolate.
- [FairyBread](https://github.com/benmccallum/fairybread) - Input validation for Hot Chocolate (FluentValidation)
- [FluentChoco](https://github.com/dalrankov/FluentChoco) - FluentValidation middleware for Hot Chocolate
- [Graph.ArgumentValidator](https://github.com/VarunSaiTeja/Graph.ArgumentValidator) - Add input argument validator to HotChocolate. (Just by adding 2 lines of code in StartUp.cs)

### Data access

- [TransactChoco](https://github.com/dalrankov/TransactChoco) - TransactionScope middleware for Hot Chocolate
2 changes: 1 addition & 1 deletion ErrorCodes.md
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@
| HC0030 | Spatial | Coordinates with M values cannot be reprojected |
| HC0031 | Paging | Unable to infer the element type from the current resolver. This often happens if the resolver is not an iterable type like IEnumerable, IQueryable, IList etc. Ensure that you either explicitly specify the element type or that the return type of your resolver is an iterable type. |
| HC0032 | Paging | The element schema type for pagination must be a valid GraphQL output type (ObjectType, InterfaceType, UnionType, EnumType, ScalarType). |
| HC0033 | Server | At least an 'operations' field and a 'map' field need to be present. |
| HC0033 | Server | The multipart form could not be read. |
| HC0034 | Server | No 'operations' specified. |
| HC0035 | Server | Misordered multipart fields; 'map' should follow 'operations'. |
| HC0036 | Server | Invalid JSON in the ‘map’ multipart field; Expected type of Dictionary<string, string[]>. |
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -11,47 +11,50 @@

# ChilliCream GraphQL Platform

The ChilliCream GraphQL Platform, at its core, is a new way to create powerful Backends. HotChocolate, our GraphQL server, connects any service or data source and creates a cohesive service to offer your consumers a unified API.
The ChilliCream GraphQL Platform, at its core, is a new way to create powerful Backends. HotChocolate, our .NET GraphQL server, connects any service or data source and creates a cohesive service to offer your consumers a unified API.

![ChilliCream GraphQL Platform](https://chillicream.com/resources/chillicream-graphql-platform.svg)

## Product Overview

### Banana Cake Pop
### Hot Chocolate

Our GraphQL IDE to explore, request and analyze any GraphQL endpoint.
Our GraphQL server to create GraphQL endpoints and merge schemas.

[Documentation](https://chillicream.com/docs/hotchocolate/)

### Strawberry Shake

Our GraphQL client to fetch data from any GraphQL endpoint.

[Readme](src/BananaCakePop)
[Documentation](https://chillicream.com/docs/strawberryshake/)

### Green Donut

Our DataLoader to solve the N+1 problem.

[Readme](src/GreenDonut)
[Documentation](https://chillicream.com/docs/greendonut/)

### Hot Chocolate
### Banana Cake Pop

Our GraphQL server to create GraphQL endpoints and merge schemas.
Our GraphQL IDE to explore, request and analyze any GraphQL endpoint.

[Readme](src/HotChocolate)
[Learn more](https://chillicream.com/docs/bananacakepop/)

### Marshmellow Pie

Our schema registry for any GraphQL client and server.

[Readme](src/MarshmallowPie)

### Strawberry Shake

Our GraphQL client to fetch data from any GraphQL endpoint.
## Roadmap

[Readme](src/StrawberryShake)
If you are interested in upcoming releases, check out our [Roadmap](https://github.com/ChilliCream/hotchocolate/projects/28).

## Official Examples

Examples of things built on top of the ChilliCream GraphQL Platform that are open source and can be explored by others.

- [GraphQL workshop](https://github.com/ChilliCream/graphql-workshop)
- [HotChocolate examples](https://github.com/ChilliCream/hotchocolate-examples)

## From our community

@@ -109,4 +112,4 @@ Examples of things built on top of the ChilliCream GraphQL Platform that are ope
<a href="https://opencollective.com/chillicream/backer/16/website?requireActive=false" target="_blank" rel="noreferrer noopener"><img src="https://opencollective.com/chillicream/backer/16/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/chillicream/backer/17/website?requireActive=false" target="_blank" rel="noreferrer noopener"><img src="https://opencollective.com/chillicream/backer/17/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/chillicream/backer/18/website?requireActive=false" target="_blank" rel="noreferrer noopener"><img src="https://opencollective.com/chillicream/backer/18/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/chillicream/backer/19/website?requireActive=false" target="_blank" rel="noreferrer noopener"><img src="https://opencollective.com/chillicream/backer/19/avatar.svg?requireActive=false"></a>
<a href="https://opencollective.com/chillicream/backer/19/website?requireActive=false" target="_blank" rel="noreferrer noopener"><img src="https://opencollective.com/chillicream/backer/19/avatar.svg?requireActive=false"></a>
Loading