Skip to content

Expose isLoaded method on the facade #81

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

Merged
merged 1 commit into from
Jan 20, 2023
Merged

Expose isLoaded method on the facade #81

merged 1 commit into from
Jan 20, 2023

Conversation

Riley19280
Copy link

Currently the isLoaded method is not accessible outside of the facade, this changes that. I would like to be able to check if a workflow is loaded before fetching it from the database.

@zerodahero
Copy link
Owner

I'm not opposed to exposing this method, but just want to double check that you're using the dynamic workflows (e.g. loading workflow definitions from the DB during runtime, not at framework boot, which is the default option). The static workflows that are defined in the config file are always loaded, so there's no need to check.

@Riley19280
Copy link
Author

Riley19280 commented Jan 20, 2023

Yes they are loaded at runtime

@zerodahero zerodahero merged commit c642956 into zerodahero:develop Jan 20, 2023
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.

2 participants