cajuncoding / GraphQL.RepoDB

A set of extensions for working with HotChocolate GraphQL and Database access with micro-orms such as RepoDb (or Dapper). This extension pack provides access to key elements such as Selections/Projections, Sort arguments, & Paging arguments in a significantly simplified facade so this logic can be leveraged in the Serivces/Repositories that encapsulate all data access (without dependency on IQueryable and execution outside of the devs control).
MIT License
40 stars 5 forks source link

Sample.StarWars-AzureFunctions-RepoDB does not compile #14

Open rmacfadyen opened 3 months ago

rmacfadyen commented 3 months ago

Same problem as previously.

Using Visual Studio I cloned the repo again, rebuild solution, and the following errors:

Build started at 11:06 PM...
1>------ Build started: Project: StarWars-AzureFunctions-RepoDB, Configuration: Debug Any CPU ------
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(4,20,4,43): error CS0234: The type or namespace name 'PreProcessingExtensions' does not exist in the namespace 'HotChocolate' (are you missing an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(7,20,7,43): error CS0234: The type or namespace name 'PreProcessingExtensions' does not exist in the namespace 'HotChocolate' (are you missing an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(8,20,8,43): error CS0234: The type or namespace name 'PreProcessingExtensions' does not exist in the namespace 'HotChocolate' (are you missing an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(17,23,17,37): warning CS0618: 'ExtendObjectTypeAttribute.Name.set' is obsolete: 'Use the new constructor.'
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(47,29,47,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(44,27,44,63): error CS0246: The type or namespace name 'IPreProcessedCursorSlice<>' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(83,29,83,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(80,27,80,69): error CS0246: The type or namespace name 'IPreProcessedOffsetPageResults<>' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(113,29,113,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(110,27,110,57): error CS0246: The type or namespace name 'PreProcessedCursorSlice<>' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(145,29,145,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(142,27,142,57): error CS0246: The type or namespace name 'PreProcessedCursorSlice<>' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(174,29,174,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(195,29,195,43): error CS0246: The type or namespace name 'IParamsContext' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(47,14,47,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(47,14,47,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(83,14,83,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(83,14,83,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(113,14,113,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(113,14,113,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(145,14,145,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(145,14,145,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(174,14,174,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(174,14,174,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(195,14,195,27): error CS0246: The type or namespace name 'GraphQLParamsAttribute' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Users\rmacfadyen\Source\Repos\GraphQL.RepoDB\Sample.StarWars-AzureFunctions-RepoDB\Characters\CharacterQueries.cs(195,14,195,27): error CS0246: The type or namespace name 'GraphQLParams' could not be found (are you missing a using directive or an assembly reference?)
1>Done building project "StarWars-AzureFunctions-RepoDB.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
========== Build completed at 11:06 PM and took 00.653 seconds ==========

The file Sample.StarWars-AzureFunctions-RepoDB/Characters/CharacterQueries.cs does not appear to have been updated. It continues to use out of date usings:

using HotChocolate.PreProcessingExtensions; using HotChocolate.PreProcessingExtensions.Sorting; using HotChocolate.PreProcessingExtensions.Pagination;

cajuncoding commented 3 months ago

This is a duplicate of the original issue https://github.com/cajuncoding/GraphQL.RepoDB/issues/13

cajuncoding commented 3 months ago

@rmacfadyen I apologize for that.... I honestly don't know what happened but some changes were somehow not committed and I lost them locally too. I was doing this while traveling via mobile hotspot, but have no idea how they were lost locally.... because I certainly tested and validated everything. 🤷‍♂️

Luckily the changes were small and easy to redo and now committed...I re-tested the queries, and re-ran all Unit Tests to be safe and everything worked fine. I then validated the changes are now in the main branch in Github portal... ✅

image

image

cajuncoding commented 3 months ago

Is this is now resolved, can I close this ticket?