Comments (2)
Can you give me an example of the issue so I can test against?
from xoom-net-actors.
@mihaj There is still a bug and I have to reactivate the issue.
In fact the generated proxy has incorrect parameter name handled to Action<>
as you can see below:
public void QueryAll(Vlingo.Symbio.Store.Object.QueryExpression expression, Vlingo.Symbio.Store.Object.IQueryResultInterest interest, object @object)
{
if(!this.actor.IsStopped)
{
Action<Vlingo.Symbio.Store.Object.IObjectStore> cons128873 = __ => __.QueryAll(expression, interest, object);
if(this.mailbox.IsPreallocated)
{
this.mailbox.Send(this.actor, cons128873, null, QueryAllRepresentation6);
}
else
{
this.mailbox.Send(new LocalMessage<Vlingo.Symbio.Store.Object.IObjectStore>(this.actor, cons128873, QueryAllRepresentation6));
}
}
else
{
this.actor.DeadLetters.FailedDelivery(new DeadLetter(this.actor, QueryAllRepresentation6));
}
}
As you can see while the top level method name is @object
what we pass in Action<Vlingo.Symbio.Store.Object.IObjectStore> cons128873 = __ => __.QueryAll(expression, interest, object);
is object
where we should pass @object
Here is the exception:
vlingo-net/actors[Debug]: vlingo-net/actors: Generating proxy for main: IObjectStore
Dynamically generated class source for Vlingo.Symbio.Store.Object.ObjectStore__Proxy did not compile because: Invalid expression term 'object'
at Vlingo.Common.Compiler.DynaCompiler.Compile(Input input)
vlingo-net/actors[Debug]: vlingo-net/actors: Generating proxy for test: IObjectStore
Dynamically generated class source for Vlingo.Symbio.Store.Object.ObjectStore__Proxy did not compile because: Invalid expression term 'object'
at Vlingo.Common.Compiler.DynaCompiler.Compile(Input input)
Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)
at Vlingo.Actors.ActorProxy.CreateFor(Type protocol, Actor actor, IMailbox mailbox)
at Vlingo.Actors.ActorProxy.CreateFor[T](Actor actor, IMailbox mailbox)
at Vlingo.Actors.Stage.ActorProxyFor[T](Actor actor, IMailbox mailbox)
at Vlingo.Actors.Stage.ActorProtocolFor[T](Definition definition, Actor parent, IAddress maybeAddress, IMailbox maybeMailbox, ISupervisor maybeSupervisor, ILogger logger)
vlingo-net/actors[Error]: vlingo-net/actors: FAILED: Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [Exception]: Actor proxy IObjectStore not created for main or test: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [StackTrace]: at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)
at Vlingo.Actors.ActorProxy.CreateFor(Type protocol, Actor actor, IMailbox mailbox)
at Vlingo.Actors.ActorProxy.CreateFor[T](Actor actor, IMailbox mailbox)
at Vlingo.Actors.Stage.ActorProxyFor[T](Actor actor, IMailbox mailbox)
at Vlingo.Actors.Stage.ActorProtocolFor[T](Definition definition, Actor parent, IAddress maybeAddress, IMailbox maybeMailbox, ISupervisor maybeSupervisor, ILogger logger)
vlingo-net/actors[Error] [InnerException]: Actor proxy IObjectStore not created because: Dynamically generated class source did not compile: Vlingo.Symbio.Store.Object.ObjectStore__Proxy
vlingo-net/actors[Error] [InnerException-StackTrace]: at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, ProxyGenerator generator, String targetClassName, String lookupTypeName)
at Vlingo.Actors.ActorProxy.TryGenerateCreate(Type protocol, Actor actor, IMailbox mailbox, String targetClassName, String lookupTypeName)
from xoom-net-actors.
Related Issues (20)
- Add Travis integration
- Change Appveyor configuration
- Target netstandard2.0 et netstandard2.1
- AccessSafely lacks supplier signature for ReadingWith
- Generic constraints are wrongly generated in some cases
- Embed default configuration file vlingo-actors.json in package HOT 1
- World's ResolveDynamic should not throw when a service cannot be resolved HOT 2
- ProxyGenerator doesn't include type's full name embedded in the generic type HOT 2
- ConcurrentMailboxQueue overhelmed under aggressive load HOT 1
- Type-safe constructor for Actor creation HOT 5
- Mailbox suspension while doing async/await HOT 1
- Implement SerializationProxy
- Actor Eviction
- ActorProxyBase for distribution
- Implement Mailbox wrapping function
- Check if actor address is already registered
- Implement serialization mechanism as a plugin
- Add additional check on constructor parameters type when creating an actor
- Support C# properties in generated proxies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xoom-net-actors.