ModelEngine-Group / ModelEngine-Group/fit-framework

@Fitable 提供类级应用

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

from: gitcode in: fit status: waiting-for-internal-feedback
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

Fitable注解是否可以开放类级别的应用,该类下1重写的方法默认使用统一的 fitbaleid,如下所示
image.png

Gitcode Issue

这个提议不错,但是实现方案应该不会是在类级别添加一个@Fitable注解,这么看着还是比较奇怪的,其实用户希望的是能够在一个类(实现了特定的服务接口,其中包含若干个Genericable)统一添加一个FitableId,这样就不需要每一个@Fitable单独设置id了,因为这些id实际上我们推荐都是一样的值。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the @Fitable and FitableId annotations and the service-interface model described in the issue. Determine whether a class-level default identifier can be specified without adding @Fitable at class scope; done means the design is agreed and the behavior is covered for all relevant methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.