andrewhancox / moodle-customfield_file

File custom field
2 stars 7 forks source link

Use instance context instead of config context for saved data #10

Open dmitriim opened 6 months ago

dmitriim commented 6 months ago

This came out as part of discussion in https://github.com/andrewhancox/moodle-customfield_file/issues/9

Currently when saving field data config context is being used. There may be some reasons for doing that, but this just indicates that something is missing in Moodle core APIs that pushes developers to workaround them and this should be fixed in core.

So rough tasks here would be:

@andrewhancox does this sound ok to you?