You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/11 19:34:00 UTC

[jira] [Commented] (AVRO-3516) [rust] Avro Derive not working outside of repo context

    [ https://issues.apache.org/jira/browse/AVRO-3516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17535080#comment-17535080 ] 

ASF subversion and git services commented on AVRO-3516:
-------------------------------------------------------

Commit 3fafde2cf8dd4b3a34cf48347a346c436741ae91 in avro's branch refs/heads/master from Jack Klamer
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=3fafde2cf ]

[AVRO-3516] Fix bugs in derive macro usage  (#1683)

* bug fix and build fix

* remove uneeded component trait

* no hidden doc

* boolean schema

* fmt

* Reduce the enabled features only to the ones required by the test

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>

* Add an example for schema derivation

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>

* Pretty print the derived schema

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>

* [AVRO-3516] remove circular package dependency

* AVRO-3516: Remove the derive-compilation example

It cannot work as an 'example'
(https://github.com/apache/avro/pull/1683#issuecomment-1123119783)

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>

Co-authored-by: Martin Tzvetanov Grigorov <mg...@apache.org>

> [rust] Avro Derive not working outside of repo context
> ------------------------------------------------------
>
>                 Key: AVRO-3516
>                 URL: https://issues.apache.org/jira/browse/AVRO-3516
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Jack Klamer
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Avro Derive was not working outside of repo context for two reasons:
> 1) Not exported as part of avro dependency feature="derive" inside the lib.rs 
> 2) Two not full qualified paths that were missed due to testing contexts



--
This message was sent by Atlassian Jira
(v8.20.7#820007)