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

[haxe.web.Dispatch] Configuration entry should be a function #17

Open
filt3rek opened this issue Jul 27, 2020 · 0 comments
Open

[haxe.web.Dispatch] Configuration entry should be a function #17

filt3rek opened this issue Jul 27, 2020 · 0 comments

Comments

@filt3rek
Copy link

filt3rek commented Jul 27, 2020

Hej !

I get this compilte-time error "Configuration entry should be a function", just because I've a simple field named "documents", so it takes the "do" as an API function.
I solved this by adding that into the ifstatement : || ( f.name.substr( 2, 1 ) != null && f.name.substr( 2, 1 ) == f.name.substr( 2, 1 ).toLowerCase() )
here :

if( f.name.substr(0, 2) != "do" )

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

1 participant