Restrict @QuerySqlField annotation to fields

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Restrict @QuerySqlField annotation to fields

Vladimir Ozerov
Folks,

Currently @QuerySqlField and @QueryTextField annotations can be applied to
both fields and methods. The latter is not supported well by
BinaryMarshaller.

I propose to make these annotations applicable only to fields. We already
dud that for @AffinityKeyMapped.

Any objections?

Vladimir.
Reply | Threaded
Open this post in threaded view
|

Re: Restrict @QuerySqlField annotation to fields

dmagda
+1

> On Apr 19, 2017, at 1:24 PM, Vladimir Ozerov <[hidden email]> wrote:
>
> Folks,
>
> Currently @QuerySqlField and @QueryTextField annotations can be applied to
> both fields and methods. The latter is not supported well by
> BinaryMarshaller.
>
> I propose to make these annotations applicable only to fields. We already
> dud that for @AffinityKeyMapped.
>
> Any objections?
>
> Vladimir.

Reply | Threaded
Open this post in threaded view
|

Re: Restrict @QuerySqlField annotation to fields

dsetrakyan
+1

On Wed, Apr 19, 2017 at 4:10 PM, Denis Magda <[hidden email]> wrote:

> +1
>
> > On Apr 19, 2017, at 1:24 PM, Vladimir Ozerov <[hidden email]>
> wrote:
> >
> > Folks,
> >
> > Currently @QuerySqlField and @QueryTextField annotations can be applied
> to
> > both fields and methods. The latter is not supported well by
> > BinaryMarshaller.
> >
> > I propose to make these annotations applicable only to fields. We already
> > dud that for @AffinityKeyMapped.
> >
> > Any objections?
> >
> > Vladimir.
>
>