You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently just a vague idea that popped into my mind. I think it should be possible to define a Field as an upload or something similar and let Arcanist take care of actually saving the file.
Currently, you would have to implement the process method of the Step to deal with uploaded files. This is something I want to discourage as much as possible and provide built-in solutions to problems that require that escape hatch instead.
Arcanist could then take care of saving the uploaded file using whatever storage you have configured in your application and store the file path in the avatar key.
This idea could potentially be generalized further to add more behavior to fields.
The text was updated successfully, but these errors were encountered:
This is currently just a vague idea that popped into my mind. I think it should be possible to define a
Field
as anupload
or something similar and let Arcanist take care of actually saving the file.Currently, you would have to implement the
process
method of the Step to deal with uploaded files. This is something I want to discourage as much as possible and provide built-in solutions to problems that require that escape hatch instead.The API could look something like this
Arcanist could then take care of saving the uploaded file using whatever storage you have configured in your application and store the file path in the
avatar
key.This idea could potentially be generalized further to add more behavior to fields.
The text was updated successfully, but these errors were encountered: