Skip to content

CXXCBC-596: do not include tao_json_serializer.hxx by default#656

Merged
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-596-make-tao-json-optional-in-public-headers
Sep 16, 2024
Merged

CXXCBC-596: do not include tao_json_serializer.hxx by default#656
avsej merged 1 commit intocouchbase:mainfrom
avsej:CXXCBC-596-make-tao-json-optional-in-public-headers

Conversation

@avsej
Copy link
Copy Markdown
Member

@avsej avsej commented Sep 16, 2024

@thejcfactor, @DemetrisChr, @Matt-Woz this patch will likely require depending projects (like FIT, wrappers etc) to explicitly require tao/json.hpp or couchbase/codec/tao_json_serializer.hxx

But on the other hand, it allows users to use public API without tao/json with some other serializer, leaving tao/json as only dependency of the C++SDK itself.

This patch is necessary step in producing better packages.

@avsej avsej requested review from a team, DemetrisChr, Matt-Woz and thejcfactor September 16, 2024 16:21
@avsej avsej force-pushed the CXXCBC-596-make-tao-json-optional-in-public-headers branch from 4bba92d to 8cbc228 Compare September 16, 2024 16:25
Copy link
Copy Markdown
Contributor

@thejcfactor thejcfactor left a comment

Choose a reason for hiding this comment

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

LGTM 👍

The removal of rows_as_json() in analytics_result/query_result is unfortunate, but understandable w.r.t. the change. Arguably a worthwhile "sacrifice".

Lets just make sure we mention the change in release notes.

@avsej avsej merged commit 795fb78 into couchbase:main Sep 16, 2024
@avsej avsej deleted the CXXCBC-596-make-tao-json-optional-in-public-headers branch September 16, 2024 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants