Skip to content

Commit

Permalink
Fix/build failures (#1192)
Browse files Browse the repository at this point in the history
* Spatial was not connected to spatial.newtonsoft losing conventions

* correct reference

* this should fix the continued build failures
  • Loading branch information
david-driscoll authored Jul 5, 2022
1 parent 2d9a2fd commit 94f6b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions sample/Sample.Restful.Client/Sample.Restful.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,12 @@
Namespace="$(RootNamespace)"
PrivateAssets="All"
ReferenceOutputAssembly="false"
OutputPath="client/$(TargetFramework)/Sample.RestfulClient.cs"
>
<Options
>/generateClientClasses:true /generateClientInterfaces:true /injectHttpClient:true /disposeHttpClient:false /generateExceptionClasses:true /wrapDtoExceptions:true /useBaseUrl:false /generateBaseUrlProperty:false /operationGenerationMode:"MultipleClientsFromFirstTagAndOperationId" /generateOptionalParameters:true /generateJsonMethods:false /enforceFlagEnums:true /parameterArrayType:"System.Collections.Generic.IEnumerable" /parameterDictionaryType:"System.Collections.Generic.IDictionary" /responseArrayType:"System.Collections.Generic.ICollection" /responseDictionaryType:"System.Collections.Generic.IDictionary" /wrapResponses:true /generateResponseClasses:true /responseClass:"Response" /requiredPropertiesMustBeDefined:false /dateType:"System.DateTimeOffset" /dateTimeType:"System.DateTimeOffset" /timeType:"System.TimeSpan" /timeSpanType:"System.TimeSpan" /arrayType:"System.Collections.ObjectModel.Collection" /arrayInstanceType:"System.Collections.ObjectModel.Collection" /dictionaryType:"System.Collections.Generic.IDictionary" /dictionaryInstanceType:"System.Collections.Generic.Dictionary" /arrayBaseType:"System.Collections.ObjectModel.Collection" /dictionaryBaseType:"System.Collections.Generic.Dictionary" /classStyle:"Poco" /generateDefaultValues:true /generateDataAnnotations:true /generateImmutableArrayProperties:true /generateImmutableDictionaryProperties:true /generateDtoTypes:true /generateOptionalPropertiesAsNullable:true</Options>
</OpenApiProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Remove="$(OpenApiCodeDirectory)\Sample.RestfulClient.cs" Condition="Exists('$(OpenApiCodeDirectory)\Sample.RestfulClient.cs')" />
<Compile Include="$(OpenApiCodeDirectory)\Sample.RestfulClient.cs" Condition="Exists('$(OpenApiCodeDirectory)\Sample.RestfulClient.cs')" />
</ItemGroup>

<!-- Hack to fix multi-targeting -->
<ItemGroup Condition="Exists('$(OpenApiCodeDirectory)\$(MSBuildProjectName).$(TargetFramework).cs') AND '$(OpenApiGenerateCodeOnBuild)'=='false'">
Expand Down
2 changes: 1 addition & 1 deletion test/Sample.Graphql.Tests/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ scalar OffsetDate
"A combination of a LocalTime and an Offset, to represent a time-of-day at a specific offset from UTC but without any date information."
scalar OffsetTime

"An offset from UTC in seconds. A positive value means that the local time is ahead of UTC (e.g. for Europe); a negative value means that the local time is behind UTC (e.g. for America)."
"An offset from UTC in seconds.\n A positive value means that the local time is ahead of UTC (e.g. for Europe); a negative value means that the local time is behind UTC (e.g. for America)."
scalar Offset

"Represents a period of time expressed in human chronological terms: hours, days, weeks, months and so on."
Expand Down

0 comments on commit 94f6b61

Please sign in to comment.