@@ -127,9 +127,9 @@ do that.
127127
128128### schemagen
129129
130- I'm using [ Boost] ( https://www.boost.org/doc/libs/1_69_0 /more/getting_started/index.html ) for ` schemagen ` :
130+ I'm using [ Boost] ( https://www.boost.org/doc/libs/1_82_0 /more/getting_started/index.html ) for ` schemagen ` :
131131
132- - Command line handling: [ Boost.Program_options] ( https://www.boost.org/doc/libs/1_69_0 /doc/html/program_options.html ) .
132+ - Command line handling: [ Boost.Program_options] ( https://www.boost.org/doc/libs/1_82_0 /doc/html/program_options.html ) .
133133Run ` schemagen -? ` to get a list of options. Many of the files in the [ samples] ( samples/ ) directory were generated
134134with ` schemagen ` , you can look at [ samples/CMakeLists.txt] ( samples/CMakeLists.txt ) for a few examples of how to call it:
135135```
@@ -144,8 +144,8 @@ Command line options:
144144 -n [ --namespace ] arg C++ sub-namespace for the generated types
145145 --source-dir arg Target path for the <prefix>Schema.cpp source file
146146 --header-dir arg Target path for the <prefix>Schema.h header file
147- --no- stubs Generate abstract classes without stub implementations
148- --separate-files Generate separate files for each of the types
147+ --stubs Unimplemented fields throw runtime exceptions instead
148+ of compiler errors
149149 --no-introspection Do not generate support for Introspection
150150```
151151
@@ -161,8 +161,7 @@ Windows and UWP shared library targets (the platform triplets which don't end in
161161### clientgen
162162
163163The ` clientgen ` utility is based on ` schemagen ` and shares the same external dependencies. The command line arguments
164- are almost the same, except it takes an extra file for the request document and there is no equivalent to ` --no-stubs ` or
165- ` --separate-files ` :
164+ are almost the same, except it takes an extra file for the request document and there is no equivalent to ` --stubs ` :
166165```
167166Usage: clientgen [options] <schema file> <request file> <output filename prefix> <output namespace>
168167Command line options:
@@ -259,6 +258,12 @@ is no implementation of this schema, it relies entirely generated stubs (created
259258successfully without defining more than placeholder objects fo the Query, Mutation, and Subscription operations in
260259[ samples/validation/ValidationMock.h] ( samples/validation/ValidationMock.h ) . It is used to test the validation logic
261260with every example or counter-example in the spec in [ test/ValidationTests.cpp] ( test/ValidationTests.cpp ) .
261+ - [ samples/proxy] ( samples/proxy/ ) (` GRAPHQL_BUILD_HTTP_SAMPLE=ON ` ): Generates a ` client ` and ` server ` pair of
262+ executables which proxy requests from the ` client ` to the ` server ` over HTTP (on port 8080 for localhost). The HTTP
263+ support in both samples comes from [ Boost.Beast] ( https://www.boost.org/doc/libs/1_82_0/libs/beast/doc/html/index.html ) ,
264+ which must be included in your ` Boost ` installation to build this directory. If you are using ` vcpkg ` , it will install
265+ the necessary ` Boost ` components on demand. _ Note: This directory uses the Boost Software License because the samples
266+ borrow heavily from examples in the ` Boost.Beast ` documentation._
262267
263268# Build and Test
264269
0 commit comments