Skip to content

Commit 4b335c1

Browse files
committed
More Interface
1 parent e300724 commit 4b335c1

22 files changed

Lines changed: 255 additions & 86 deletions

File tree

docs/StarWars.Client/Generated/Types/Film.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,35 +62,35 @@ public partial class Film : Node
6262
/// <summary>
6363
/// Do not use in Query, only to retrive result
6464
/// </summary>
65-
[GraphQLShadowProperty]
65+
[GraphShadowProperty]
6666
[JsonPropertyName("speciesConnection")]
6767
public FilmSpeciesConnection SpeciesConnection { get; set; }
6868

6969
/// <summary>
7070
/// Do not use in Query, only to retrive result
7171
/// </summary>
72-
[GraphQLShadowProperty]
72+
[GraphShadowProperty]
7373
[JsonPropertyName("starshipConnection")]
7474
public FilmStarshipsConnection StarshipConnection { get; set; }
7575

7676
/// <summary>
7777
/// Do not use in Query, only to retrive result
7878
/// </summary>
79-
[GraphQLShadowProperty]
79+
[GraphShadowProperty]
8080
[JsonPropertyName("vehicleConnection")]
8181
public FilmVehiclesConnection VehicleConnection { get; set; }
8282

8383
/// <summary>
8484
/// Do not use in Query, only to retrive result
8585
/// </summary>
86-
[GraphQLShadowProperty]
86+
[GraphShadowProperty]
8787
[JsonPropertyName("characterConnection")]
8888
public FilmCharactersConnection CharacterConnection { get; set; }
8989

9090
/// <summary>
9191
/// Do not use in Query, only to retrive result
9292
/// </summary>
93-
[GraphQLShadowProperty]
93+
[GraphShadowProperty]
9494
[JsonPropertyName("planetConnection")]
9595
public FilmPlanetsConnection PlanetConnection { get; set; }
9696

docs/StarWars.Client/Generated/Types/Person.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public partial class Person : Node
5959
/// <summary>
6060
/// Do not use in Query, only to retrive result
6161
/// </summary>
62-
[GraphQLShadowProperty]
62+
[GraphShadowProperty]
6363
[JsonPropertyName("filmConnection")]
6464
public PersonFilmsConnection FilmConnection { get; set; }
6565

@@ -69,14 +69,14 @@ public partial class Person : Node
6969
/// <summary>
7070
/// Do not use in Query, only to retrive result
7171
/// </summary>
72-
[GraphQLShadowProperty]
72+
[GraphShadowProperty]
7373
[JsonPropertyName("starshipConnection")]
7474
public PersonStarshipsConnection StarshipConnection { get; set; }
7575

7676
/// <summary>
7777
/// Do not use in Query, only to retrive result
7878
/// </summary>
79-
[GraphQLShadowProperty]
79+
[GraphShadowProperty]
8080
[JsonPropertyName("vehicleConnection")]
8181
public PersonVehiclesConnection VehicleConnection { get; set; }
8282

docs/StarWars.Client/Generated/Types/Planet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ public partial class Planet : Node
5353
/// <summary>
5454
/// Do not use in Query, only to retrive result
5555
/// </summary>
56-
[GraphQLShadowProperty]
56+
[GraphShadowProperty]
5757
[JsonPropertyName("residentConnection")]
5858
public PlanetResidentsConnection ResidentConnection { get; set; }
5959

6060
/// <summary>
6161
/// Do not use in Query, only to retrive result
6262
/// </summary>
63-
[GraphQLShadowProperty]
63+
[GraphShadowProperty]
6464
[JsonPropertyName("filmConnection")]
6565
public PlanetFilmsConnection FilmConnection { get; set; }
6666

docs/StarWars.Client/Generated/Types/Species.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ public partial class Species : Node
5656
/// <summary>
5757
/// Do not use in Query, only to retrive result
5858
/// </summary>
59-
[GraphQLShadowProperty]
59+
[GraphShadowProperty]
6060
[JsonPropertyName("personConnection")]
6161
public SpeciesPeopleConnection PersonConnection { get; set; }
6262

6363
/// <summary>
6464
/// Do not use in Query, only to retrive result
6565
/// </summary>
66-
[GraphQLShadowProperty]
66+
[GraphShadowProperty]
6767
[JsonPropertyName("filmConnection")]
6868
public SpeciesFilmsConnection FilmConnection { get; set; }
6969

docs/StarWars.Client/Generated/Types/Starship.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ public partial class Starship : Node
6565
/// <summary>
6666
/// Do not use in Query, only to retrive result
6767
/// </summary>
68-
[GraphQLShadowProperty]
68+
[GraphShadowProperty]
6969
[JsonPropertyName("pilotConnection")]
7070
public StarshipPilotsConnection PilotConnection { get; set; }
7171

7272
/// <summary>
7373
/// Do not use in Query, only to retrive result
7474
/// </summary>
75-
[GraphQLShadowProperty]
75+
[GraphShadowProperty]
7676
[JsonPropertyName("filmConnection")]
7777
public StarshipFilmsConnection FilmConnection { get; set; }
7878

docs/StarWars.Client/Generated/Types/Vehicle.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ public partial class Vehicle : Node
5959
/// <summary>
6060
/// Do not use in Query, only to retrive result
6161
/// </summary>
62-
[GraphQLShadowProperty]
62+
[GraphShadowProperty]
6363
[JsonPropertyName("pilotConnection")]
6464
public VehiclePilotsConnection PilotConnection { get; set; }
6565

6666
/// <summary>
6767
/// Do not use in Query, only to retrive result
6868
/// </summary>
69-
[GraphQLShadowProperty]
69+
[GraphShadowProperty]
7070
[JsonPropertyName("filmConnection")]
7171
public VehicleFilmsConnection FilmConnection { get; set; }
7272

src/Linq2GraphQL.Client/GraphArgumentAttribute.cs renamed to src/Linq2GraphQL.Client/Attributes/GraphArgumentAttribute.cs

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace Linq2GraphQL.Client;
2+
3+
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)]
4+
public class GraphInterfacePropertyAttribute : Attribute
5+
{
6+
7+
}
File renamed without changes.

src/Linq2GraphQL.Client/GraphQLShadowPropertyAttribute.cs renamed to src/Linq2GraphQL.Client/Attributes/GraphShadowPropertyAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Linq2GraphQL.Client;
22

33
[AttributeUsage(AttributeTargets.Property)]
4-
public class GraphQLShadowPropertyAttribute : Attribute
4+
public class GraphShadowPropertyAttribute : Attribute
55
{
66
}

0 commit comments

Comments
 (0)