Hello I want to follow the rules here

Hello. I want to follow the rules here, but I'm not sure if I can post a question in general... I'm using Inferencer, but if api don't have any resources, it's displayed as follows. I also want to define basic InferField lists for each API, so is there any way?
No description
14 Replies
extended-salmon
extended-salmon2y ago
Hi @castle_junny, your API returns empty. I mean, for now there is no data. did i understand correctly ?
refine-support-bot
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: The code snippet <FormSaveAndContinue path="form-save-and-continue" /> is used to enable the "Save and Continue" feature in forms. SOURCES: ./docs/advanced-tutorials/forms/save-and-continue.md

Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
wise-white
wise-white2y ago
Hi @alicanerdurmaz , Yes!
No description
extended-salmon
extended-salmon2y ago
if your data is empty, inferencer cannot infer inputs and fields. because there is no value to infer this is expected behaviour
wise-white
wise-white2y ago
I know...... Can't I define a type or something?
extended-salmon
extended-salmon2y ago
Unfortunately not. inferencer only works with json maybe you can create mock api, and fill with some mock data and you can send request to that api. after then you can get your inferenced code
wise-white
wise-white2y ago
I want to use it on the production service. After deploying the site for the first time, there might be no resources... That seems to be a problem. So I looked at the code a little bit, and there was a code from the create-inferencer side as below.
wise-white
wise-white2y ago
No description
wise-white
wise-white2y ago
I was wondering if I could define InferField[] ( per resource ) in advance there or elsewhere. Before that, I was wondering, is it impossible to use Infercer for production services
extended-salmon
extended-salmon2y ago
unfortunately inferencer currently only works with only JSON values
wise-white
wise-white2y ago
I am a back-end developer, so I may lack front-end knowledge. I'm sorry. I just wanted to implement the admin page easily.
extended-salmon
extended-salmon2y ago
you can use it as you want. it's a open source code with MIT license 🙏 but while we were designing the inferencer, we designed it as a tool to speed up the development process. currently, we do not recommend using it in a production application
wise-white
wise-white2y ago
Ok. i got it... Thanks for your help!
extended-salmon
extended-salmon2y ago
I'm glad to hear that 👋 Don't be sorry. Please don't hesitate to ask question. You can use #ask-any-question section