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

feat: inlinefile ModelAPI support #1555

Merged
merged 16 commits into from
Aug 13, 2024
Merged

feat: inlinefile ModelAPI support #1555

merged 16 commits into from
Aug 13, 2024

Conversation

RutZap
Copy link
Contributor

@RutZap RutZap commented Aug 12, 2024

Adding InlineFile support to the ModelAPI. When using the modelAPI with InlineFile inputs, the files will be stored automatically and the relevant data pushed through to the db record.

E.g.

        const post = await models.post.create({
            image: inputs.image,
            description: inputs.description,
        })
    
        return post

@RutZap RutZap changed the title feat: inlinefile support feat: inlinefile ModelAPI support Aug 12, 2024
@RutZap RutZap marked this pull request as ready for review August 12, 2024 15:14
@RutZap RutZap merged commit 1fc53c2 into main Aug 13, 2024
10 checks passed
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