NwRfcNet icon indicating copy to clipboard operation
NwRfcNet copied to clipboard

Async & Mapping with attributes request

Open harunemre opened this issue 4 years ago • 1 comments

Hi,

Thats the only one libray ever that i found over the web which using netweaver and supporting .net core. Thanks for all.

I'd like to use it on some asp.net core app as an integration. Adding async support would be great.

Also if possible, could you add some attribute mapping ?

Instead:

mapper.Parameter<SomeOutputClass>().Property(x => x.SomeProp)
        .HasParameterName("SOME_MAPPED_FIELD")
        .HasParameterType(RfcFieldType.SomeType);

Using attribute mapping like:

public class SomeOutputClass
{
[RfcParam("SOME_MAPPED_FIELD", RfcFieldType.SomeType, "Maybe some description here")]
 public string SomeProp {get; set;}
}

harunemre avatar Feb 10 '21 13:02 harunemre

I don't have plans for such feature. But please, feel free to make a pull request of such functionality.

nunomaia avatar Mar 31 '21 16:03 nunomaia