You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: has_primary_key.rb
    path of file: ./repos/mashcard/apps/server-monolith/lib/mashcard/graphql
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Mashcard
  module GraphQL
    module HasPrima
    
        def has_primary_key(opts = {})
          opts = {
            uuid: false,
          }.merge(opts)
          type = opts[:uuid] ? Scalars::UUID : Scalars::AutoIncrementID
          field :id, type, 'object unique id', null: false
        end