Comments (5)
I had a look to the code and it seems that this is actually the relevant method:
jint/Jint/Runtime/Interop/TypeResolver.cs
Line 51 in 23a2a25
But it is internal and all relevant types are internal as well.
This could be implemented by making a ReadonlyReflectionAccessor that wraps the actual accessor or something like that. Perhaps with a similar delegate like the member filter.
I can probably provide a PR for that.
from jint.
I was not aware that there is AllowClrWrite
.
from jint.
So if this is only about interop scenarios, is the AllowClrWrite
enough to fill the needs or is something else missing too perhaps?
from jint.
No, for me it is perfectly fine :)
from jint.
Cool, thanks for raising the issue and investigating!
from jint.
Related Issues (20)
- Module resolution does not work for absolute path HOT 3
- 'Property 'Wait' of object is not a function' when calling .Wait() on a task with the usage of Jint 3.0.1 HOT 5
- System.InvalidOperationException: 'UnwrapIfPromise' called before Promise was settled HOT 1
- Tasks cannot be executed sequentially
- Max Statements and general recommendations for limits HOT 1
- JsonValue primitives HOT 1
- The type initializer for 'Jint.Native.Global.GlobalObject' threw an exception.
- Unexpected token using modules HOT 1
- Can no longer use cached Esprima Scripts HOT 1
- LocaleCompare encountered inconsistent results with the browser HOT 1
- NRE after upgrading to Jint 3.1.1 from 3.1.0 HOT 1
- URL API HOT 1
- Wrong Repo, sorry HOT 1
- Task<JsValue> is not correctly marshalled into JS code HOT 2
- Implicit Namespaces & Interopt HOT 4
- Addition-assignment -, subtract-assignment - and multiply-assignment operator throws an error when using BigInt HOT 2
- Incorrect C# code not throwing an exception HOT 1
- Engine.Execute fails when executing Array.map (d3.js) HOT 1
- System.NullReferenceException: Object reference not set to an instance of an object. HOT 5
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 jint.