Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuse v1.6.0 #14

Open
argsalmeida opened this issue Feb 12, 2018 · 2 comments
Open

Fuse v1.6.0 #14

argsalmeida opened this issue Feb 12, 2018 · 2 comments

Comments

@argsalmeida
Copy link

As of Fuse v1.6.0

This module started to show some warnings:

Modules/NativeControls/DatePicker.ScriptClass.uno(43.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'

Modules/NativeControls/DatePicker.ScriptClass.uno(44.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'

Modules/NativeControls/DatePicker.ScriptClass.uno(45.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'

Modules/NativeControls/TimePicker.ScriptClass.uno(43.5): W4139: 'Fuse.Scripting.ScriptMethod`1..ctor(string,Uno.Action<Fuse.Scripting.Context, T, object[]>,Fuse.Scripting.ExecutionThread)' is obsolete: 'Use ScriptMethod<T>(string, Uno.Action<T)>), ScriptMethod<T>(string, Uno.Action<T, object[])>) or ScriptMethod<T>(string, Uno.Func<Fuse.Scripting.Context, T, object[], object)>) instead'

Does anyone know how to fix these warnings?

@nekronos
Copy link
Owner

I think you can fix them by using one of the suggested methods in the warning. But fuse is now shipping an official version of DatePicker and TimePicker, I think its better if you switch to those.

@argsalmeida
Copy link
Author

I don't really understand Uno yet. So I don't really know how to use the suggested methods.

I'm using this module because the official versions doesn't have what I need and I added them to this module. Already suggested this features on the forum, but until now there was no update on it.

That's why I'm asking if someone knows how to fix the warnings, so I can use this until there is any update on the official ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants