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

Remove the eval usage in the requirement checker #213

Merged
merged 2 commits into from
May 9, 2018

Conversation

theofidry
Copy link
Member

The requirement checker was relying on the usage of eval() to evaluate the requirement condition.
However it has two major inconvenient:

  • It is a bad usage
  • It required to declare the autoloading manually in the eval statement

It is actually possible to do without and in a relatively simple way by relying on an invokable
class.

/cc @MacFJA

theofidry added 2 commits May 9, 2018 19:57
The requirement checker was relying on the usage of `eval()` to evaluate the requirement condition.
However it has two major inconvenient:

- It is a bad usage
- It required to declare the autoloading manually in the eval statement

It is actually possible to do without and in a relatively simple way by relying on an invokable
class.
@theofidry theofidry merged commit 8bfb27e into box-project:master May 9, 2018
@theofidry theofidry deleted the feature/requirement-checker branch May 9, 2018 23:01
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

Successfully merging this pull request may close these issues.

1 participant