Skip to content

[cpp-rest-sdk-client] handling datetime type #12247

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 30, 2022

Conversation

fedeitc
Copy link
Contributor

@fedeitc fedeitc commented Apr 26, 2022

A specialization for the shared_ptr<datetime> data type was added to
ModelBase member functions fromString, fromJson, toJson and
toHttpContent.

This should fix compilation errors on generated source code.
See https://github.com/coinapi/coinapi-sdk/pull/130

@muttleyxd

A specialization for the shared_ptr<datetime> data type was added to
ModelBase member functions fromString, fromJson, toJson and
toHttpContent.

This should fix compilation errors on generated source code.
See https://github.com/coinapi/coinapi-sdk/pull/130
@wing328
Copy link
Member

wing328 commented Apr 30, 2022

cc @ravinikam (2017/07) @stkrwork (2017/07) @etherealjoy (2018/02) @MartinDelille (2018/03) @muttleyxd (2019/08)

@wing328
Copy link
Member

wing328 commented Apr 30, 2022

Tested locally with the updated samples and the result is good.

/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Scanning dependencies of target CppRestPetstoreClient
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[  5%] Building CXX object CMakeFiles/CppRestPetstoreClient.dir/src/api/PetApi.cpp.o
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 11%] Linking CXX static library libCppRestPetstoreClient.a
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[100%] Built target CppRestPetstoreClient
/usr/bin/cmake: /usr/local/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  37.545 s
[INFO] Finished at: 2022-04-30T17:40:44+08:00
[INFO] ------------------------------------------------------------------------

@wing328 wing328 merged commit 5458e1f into OpenAPITools:master Apr 30, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants