Skip to content

Improvement/stop using newmodel constructor#263

Closed
ghost wants to merge 2 commits intoapache:masterfrom
OBASHITechnology:improvement/stop-using-newmodel-constructor
Closed

Improvement/stop using newmodel constructor#263
ghost wants to merge 2 commits intoapache:masterfrom
OBASHITechnology:improvement/stop-using-newmodel-constructor

Conversation

@ghost
Copy link

@ghost ghost commented Jul 10, 2019

We have a weird misplaced model constructor in enforcer which is super hacky and has an unwanted panic.

Avoid using this exported, misplaced function and create and load models using their provided functions which is much safer and cleaner.

@ghost ghost closed this Jul 10, 2019
@ghost ghost deleted the improvement/stop-using-newmodel-constructor branch July 10, 2019 14:21
This pull request was closed.
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.

0 participants