Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CS] Verifier #7850

Merged
merged 42 commits into from
Apr 5, 2023
Merged

[CS] Verifier #7850

merged 42 commits into from
Apr 5, 2023

Conversation

tira-misu
Copy link
Contributor

Verifier for .Net

Included:

  • user documentation
  • code generation
  • tests

tira-misu and others added 30 commits October 1, 2019 07:51
Pull from google/flatbuffers
If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".
* option indent_step is supported
@github-actions github-actions bot added c# c++ codegen Involving generating code from schema documentation Documentation labels Mar 3, 2023
Copy link
Collaborator

@dbaileychess dbaileychess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition! Thanks.

docs/source/doxyfile Outdated Show resolved Hide resolved
tests/KeywordTest/Table2.cs Outdated Show resolved Hide resolved
tests/MyGame/Example/Any.cs Show resolved Hide resolved
tests/MyGame/Example/Stat.cs Outdated Show resolved Hide resolved
tests/FlatBuffers.Test/FlatBuffersFuzzTests.cs Outdated Show resolved Hide resolved
tests/FlatBuffers.Test/FlatBuffersFuzzTests.cs Outdated Show resolved Hide resolved
net/FlatBuffers/FlatBufferVerify.cs Outdated Show resolved Hide resolved
net/FlatBuffers/FlatBufferVerify.cs Outdated Show resolved Hide resolved
net/FlatBuffers/FlatBufferVerify.cs Outdated Show resolved Hide resolved
net/FlatBuffers/FlatBufferVerify.cs Outdated Show resolved Hide resolved
@dbaileychess
Copy link
Collaborator

Great, looks much better. Still one more open question about the default return true, i sort of feel like if we use any default in the verifier, it should be false.

@tira-misu
Copy link
Contributor Author

What about this PR. I think the default true in the open point above is right - see response.
Is there something else to do?

@dbaileychess dbaileychess enabled auto-merge (squash) April 5, 2023 22:25
@dbaileychess dbaileychess merged commit 876a64a into google:master Apr 5, 2023
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* Fix C/C++ Create<Type>Direct with sorted vectors

If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".

* Changes due to code review

* Improve code readability

* Add generate of JSON schema to string to lib

* option indent_step is supported

* Remove unused variables

* Fix break in test

* Fix style to be consistent with rest of the code

* [TS] Fix reserved words as arguments (google#6955)

* [TS] Fix generation of reserved words in object api (google#7106)

* [TS] Fix generation of object api

* [TS] Fix MakeCamel -> ConvertCase

* [C#] Fix collision of field name and type name

* [TS] Add test for struct of struct of struct

* Update generated files

* Add missing files

* [TS] Fix query of null/undefined fields in object api

* Add .Net verfier

* Add some fuzz tests for .Net

* Remove additional files

* Fix .net test

* Changes due to PR

* Fix generated files

---------

Co-authored-by: Derek Bailey <derekbailey@google.com>
jochenparm pushed a commit to jochenparm/flatbuffers that referenced this pull request Oct 29, 2024
* Fix C/C++ Create<Type>Direct with sorted vectors

If a struct has a key the vector has to be sorted. To sort the vector
you can't use "const".

* Changes due to code review

* Improve code readability

* Add generate of JSON schema to string to lib

* option indent_step is supported

* Remove unused variables

* Fix break in test

* Fix style to be consistent with rest of the code

* [TS] Fix reserved words as arguments (google#6955)

* [TS] Fix generation of reserved words in object api (google#7106)

* [TS] Fix generation of object api

* [TS] Fix MakeCamel -> ConvertCase

* [C#] Fix collision of field name and type name

* [TS] Add test for struct of struct of struct

* Update generated files

* Add missing files

* [TS] Fix query of null/undefined fields in object api

* Add .Net verfier

* Add some fuzz tests for .Net

* Remove additional files

* Fix .net test

* Changes due to PR

* Fix generated files

---------

Co-authored-by: Derek Bailey <derekbailey@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c# c++ codegen Involving generating code from schema documentation Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants