This commit is contained in:
James Courtney 2022-02-20 17:18:31 -08:00 коммит произвёл GitHub
Родитель 6db36617f2
Коммит 8881a32f2a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -25,6 +25,8 @@ enum Fruit : byte { Apples, Pears, Bananas }
// to use FlatBufferSerializer to make one for us at runtime. It also means we don't need
// a reference to the "FlatSharp" nuget package. Only "FlatSharp.Runtime" is required.
// Runtime vs build-time generated serializers perform equally well.
/// This comment is injected into C# because of the '///'
table FooBarContainer (fs_serializer:"greedymutable") // Valid values are: "greedy", "greedymutable", "progressive", and "lazy"
{
list:[FooBar] (fs_vector:"IList"); // Can also be IReadOnlyList,Array,Memory,ReadOnlyMemory

Просмотреть файл

@ -26,12 +26,12 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="FlatSharp" Version="6.1.0" />
<PackageReference Include="FlatSharp.Compiler" Version="6.1.0">
<PackageReference Include="FlatSharp" Version="6.2.0" />
<PackageReference Include="FlatSharp.Compiler" Version="6.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FlatSharp.Runtime" Version="6.1.0" />
<PackageReference Include="FlatSharp.Runtime" Version="6.2.0" />
<PackageReference Include="Grpc" Version="2.38.1" />
</ItemGroup>