Open tmkw opened 6 days ago
https://developer.salesforce.com/docs/atlas.ja-jp.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm
ここにSchemaの詳細が書かれており、メソッドとしてもっとわかりやすい名前をつけた方が良いものがある気がする 例:
dataTranslationEnabled => translateable?
他にも、xxxx? 系の述語メソッドのある場合、そもそも
xxxx?
schema.filels.queryable => 検索可能な項目名がでてくる
こういうことができていいのではないか。 いちいち述語レベルで書いていられないのでメタプログラミングでやるかと思ったが、スキーマの方からだとメタにできない。なんの述語に対応するメソッドであるかはスキーマ側で明示しなければならないため。
https://developer.salesforce.com/docs/atlas.ja-jp.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm
ここにSchemaの詳細が書かれており、メソッドとしてもっとわかりやすい名前をつけた方が良いものがある気がする 例:
他にも、
xxxx?
系の述語メソッドのある場合、そもそもこういうことができていいのではないか。 いちいち述語レベルで書いていられないのでメタプログラミングでやるかと思ったが、スキーマの方からだとメタにできない。なんの述語に対応するメソッドであるかはスキーマ側で明示しなければならないため。